rockbox/firmware/target/arm/pbell/vibe500
Thomas Jarosch d62e1b3c5f vibe 500: Fix ide_powered() always returning false
While the right GPIO location is accessed,
the result of the logical AND was tested wrong.

I don't have this hardware, but I can imagine
that bug caused ide_power_enable() to be called
more times than it needed to be.

cppcheck reported:
[rockbox/firmware/target/arm/pbell/vibe500/power-vibe500.c:101]: (style) Expression '(X & 0x8) == 0x1' is always false.

Change-Id: I98498f79d383c6f29869e170bfc94ba9a0d2ba7e
2014-12-20 14:03:23 +01:00
..
adc-target.h Add initial Packard Bell Vibe 500 port, by Szymon Dziok 2010-01-18 19:05:20 +00:00
backlight-target.h Add initial Packard Bell Vibe 500 port, by Szymon Dziok 2010-01-18 19:05:20 +00:00
backlight-vibe500.c hdd6330: change the synaptics-mep driver in a few places according to the touchpad behavior. 2010-07-04 12:03:38 +00:00
button-target.h button-target.h : move prototypes to button.h 2012-01-08 00:07:19 +00:00
button-vibe500.c Fix more reds. 2014-03-03 20:26:08 +01:00
lcd-as-vibe500.S lcd: fix function name in comments in assembly files (lcd_write_yup_420 instead of lcd_write_yuv420) 2012-01-11 13:14:30 +01:00
lcd-vibe500.c Fix build errors and warnings 2012-02-28 11:51:09 +11:00
power-vibe500.c vibe 500: Fix ide_powered() always returning false 2014-12-20 14:03:23 +01:00
powermgmt-vibe500.c Rework powermgmt to enable code re-use on appliation and sims. 2012-01-03 23:44:38 +00:00