1
0
Fork 0
forked from len0rd/rockbox
foxbox/firmware/drivers
Solomon Peachy e0df9952fd ata: Alter ata_is_active() when drive doesn't support power management
Due to the heisenberg principle, we don't want to check the battery
level when the ATA drive is "spun up".

Unfortunately some ATA devices *cough most SD adapters cough* don't
support mandatory ATA power management commands like flushing caches and
(safely) shutting down so we have to leave them "spinning".

This leads to us never updating our battery status with these
out-of-spec devices.  Work around this issue by having is_active() always
return false if that's what we have.

Change-Id: I629f3fdbc7e5cffb0a4d546c80cb5fca8529c0e6
2024-09-18 08:26:14 -04:00
..
audio Eros Q Native: Add Stereo SW behavior setting 2024-05-12 09:42:02 -04:00
libertas Sansa Connect: Initial libertas WiFi driver port 2021-07-04 07:41:44 +00:00
rtc pcf56065: Fix a compile warning uncovered by GCC8 2022-11-27 01:20:03 -05:00
tuner Fix yellow introduced in f7a3b4dfa 2024-06-23 20:58:10 -04:00
adc-as3514.c AMS: Return ascodec to interrupt-based I2C2 driver 2017-01-25 00:05:13 +01:00
ata.c ata: Alter ata_is_active() when drive doesn't support power management 2024-09-18 08:26:14 -04:00
axp-pmu.c axp-pmu: adc refactor 2022-01-09 20:12:41 +00:00
button.c clean up button.c optimize !filter_first_keypress 2023-01-02 11:04:47 -05:00
cw2015.c New port: Shanling Q1 native 2021-07-13 22:01:33 +01:00
eeprom_24cxx.c
fat.c storage: 64-bit sector offsets 2024-08-12 14:23:44 -04:00
ft6x06.c Shanling Q1: enable multi-touch reporting 2021-11-24 18:49:03 -05:00
generic_i2c.c Sansa Connect: Use deviceid in USB Serial Number 2021-07-10 08:56:32 +02:00
i2c-async.c Add asynchronous I2C bus API 2021-03-23 15:42:54 +00:00
isp1362.c
isp1583.c usb: introduce new control request API 2021-10-16 15:58:43 -04:00
lcd-1bit-vert.c lcd: Fix bug in grayscale clear_display() implementation 2022-10-12 07:58:57 -04:00
lcd-2bit-horz.c lcd: Fix bug in grayscale clear_display() implementation 2022-10-12 07:58:57 -04:00
lcd-2bit-vert.c lcd: Fix bug in grayscale clear_display() implementation 2022-10-12 07:58:57 -04:00
lcd-2bit-vi.c lcd: Fix bug in grayscale clear_display() implementation 2022-10-12 07:58:57 -04:00
lcd-16bit-common.c Sansa e200v2: bootloader: fit size 2024-04-01 11:02:04 -04:00
lcd-16bit-vert.c Sansa e200v2: bootloader: fit size 2024-04-01 11:02:04 -04:00
lcd-16bit.c Sansa e200v2: bootloader: fit size 2024-04-01 11:02:04 -04:00
lcd-24bit.c Sansa e200v2: bootloader: fit size 2024-04-01 11:02:04 -04:00
lcd-bitmap-common.c [Fix Red] 957920e9 lcd-bitmap-common 16-bit devices 2024-04-02 19:43:58 -04:00
lcd-color-common.c Sansa e200v2: bootloader: fit size 2024-04-01 11:02:04 -04:00
lcd-memframe.c Revert "Remove YUV blitting functions and LCD modes" 2022-10-13 11:08:06 -04:00
lcd-remote-1bit-v.c lcd drivers: Convert lcd_[remote_]framebuffer to a pointer 2012-02-28 11:44:59 +11:00
lcd-remote-2bit-vi.c lcd drivers: Convert lcd_[remote_]framebuffer to a pointer 2012-02-28 11:44:59 +11:00
lcd-scroll.c Fix red fbc8b2156f 2024-08-28 21:26:06 -04:00
led.c YH92x: Use the led near the lcd as the ATA led, instead of shine all the time. 2014-06-18 18:06:17 +00:00
m5636.c
m66591.c usb: introduce new control request API 2021-10-16 15:58:43 -04:00
nand_id.c Add cleaned-up xDuoo X3 support 2018-07-28 10:56:31 -04:00
pca9555.c Introduce HiFi E.T MA9 port. 2013-05-06 14:09:24 +04:00
pcf50605.c
pcf50606.c tcc77x targets: various minor cleanups 2010-08-28 10:17:19 +00:00
pcf50635.c Commit FS#12352 by Stanislav Chizhik. Add support for the PCF50635. Enables detection of USB power sources. 2011-11-15 20:37:47 +00:00
qt1106.c
ramdisk.c storage: 64-bit sector offsets 2024-08-12 14:23:44 -04:00
rds.c rds: make newly added function static 2022-03-16 11:54:26 -04:00
sd.c storage: 64-bit sector offsets 2024-08-12 14:23:44 -04:00
serial.c Add Serial Port 1 support for iPod Photo/Color/4G/Mini2G 2013-04-25 21:02:09 +02:00
sw_i2c.c
synaptics-mep.c FS12845: Fix uninitialized read 2021-05-19 17:09:48 -04:00
touchpad.c touch devices: Disable touch on softlock. 2013-09-05 20:02:07 +02:00
touchscreen.c Introducing Targets iBasso DX50 & iBasso DX90 2014-09-18 18:19:01 +02:00
tsc200x.c
tsc2100.c TSC2100: Sample multiple times and provide an average to clean up touch detection. 2011-02-06 19:26:31 +00:00
usb-designware.c usb dwc2: Fix a potential garbage string print in an error path. 2022-10-10 08:24:33 -04:00