diff options
author | Aidan MacDonald <amachronic@protonmail.com> | 2022-01-30 17:17:37 +0000 |
---|---|---|
committer | Aidan MacDonald <amachronic@protonmail.com> | 2022-01-30 17:37:24 +0000 |
commit | b25d8457bc4189fa9450baa5605c2bf604bdbe6f (patch) | |
tree | 58e88da0132a09ca08767802e6533d8c0a11aae7 | |
parent | 76a2a0073222e3c131294f059543306067ad6ecb (diff) | |
download | rockbox-b25d8457bc.tar.gz rockbox-b25d8457bc.zip |
Shanling Q1: fix DAC power mode switching
The OST prescaler bugfix (7a5130a277) broke runtime switching
between 1.0V and 2.0V modes. The 1ms delay after shutting down
the DAC isn't long enough to reset it, so it gets stuck in the
power mode assigned at boot. Change the delay back to 4ms, the
effective value prior to the OST bugfix.
Change-Id: Ic4583d1a6fa82540062aa185386f14bbf785a3f4
-rw-r--r-- | firmware/target/mips/ingenic_x1000/shanlingq1/audiohw-shanlingq1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/mips/ingenic_x1000/shanlingq1/audiohw-shanlingq1.c b/firmware/target/mips/ingenic_x1000/shanlingq1/audiohw-shanlingq1.c index 3b49262f20..787c35c494 100644 --- a/firmware/target/mips/ingenic_x1000/shanlingq1/audiohw-shanlingq1.c +++ b/firmware/target/mips/ingenic_x1000/shanlingq1/audiohw-shanlingq1.c @@ -59,7 +59,7 @@ static void codec_stop(void) { es9218_mute(true); es9218_close(); - mdelay(1); + mdelay(4); } void audiohw_init(void) |