diff options
author | Jaya Kumar <jayakumar.lkml@gmail.com> | 2008-11-18 02:32:36 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-11-23 15:49:59 +0000 |
commit | 47fd6f7c94e15eb5f97dd1cbb0427a46b03c8185 (patch) | |
tree | dc9842ab5729f971c21947232c86fb928d45125a /arch/arm | |
parent | 844c6f6a36984c5fe1bcc2d68a88f2ed212d1eef (diff) |
[ARM] 5335/1: pxa25x_udc: Fix is_vbus_present to return 1 or 0
the use of is_blah() suggests a 1 or 0 return. This assumption is made in
pxa25x_udc code such as:
dev->vbus = is_vbus_present();
where dev->vbus is a bitfield. This fix allows pxa25x_udc_probe to correctly
detect vbus. Other changes were to make its use consistent in the rest of
the code.
Signed-off-by: Jaya Kumar <jayakumar.lkml@gmail.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm')
0 files changed, 0 insertions, 0 deletions