arm: tegra: fix error check in tegra2_clocks.c
authorNicolas Kaiser <nikai@nikai.net>
Wed, 30 Mar 2011 13:59:11 +0000 (15:59 +0200)
committerColin Cross <ccross@android.com>
Fri, 1 Apr 2011 20:32:25 +0000 (13:32 -0700)
commit906c3b616dcf8e64b11d7d665d62f5e9940f4d46
tree6f67b12cf065557373f3ef625f221e33299bf73c
parentc8309ef6a4c52919d44bbc9743d7ea05ae8f4c7f
arm: tegra: fix error check in tegra2_clocks.c

Checking 'rate < 0' doesn't work because 'rate' is unsigned.

Signed-off-by: Nicolas Kaiser <nikai@nikai.net>
Signed-off-by: Colin Cross <ccross@android.com>
arch/arm/mach-tegra/tegra2_clocks.c