kernel_optimize_test/arch/arm/mach-omap1
Janusz Krzysztofik 2afdb4c41d ARM: OMAP1: ams-delta: Fix audio permanently muted
Since commit 1137ceee76 ("ARM: OMAP1: ams-delta: Don't request unused
GPIOs"), on-board audio has appeared muted.  Believed to be unused GPIO
pin "hookflash1", apparently set high regardless of the corresponding
bit of "latch2" port attempted to be set low during .init_machine(),
has been identified as the reason.

According to Amstrad E3 wiki, the purpose of the pin hasn't been
clearly identified.  Original Amstrad software used to produce a high
pulse on it when the phone was taken off hook or recall was pressed.
With the current finding, we can assume the pin provides a kind of
audio mute function.

Proper resolution of the issue should be done in two steps:
- resolution of an issue with the pin state not reflecting the value
  the corresponding bit of the port was attempted to be initialized
  with,
- extension of on-board audio driver with a new control.

For now, rename the pin to "audio_mute" to reflect its function and,
as a quick fix, hogg it as output low so on-board audio can produce
audible sound again.

Fixes: 1137ceee76 ("ARM: OMAP1: ams-delta: Don't request unused GPIOs")
Signed-off-by: Janusz Krzysztofik <jmkrzyszt@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2018-12-07 08:26:53 -08:00
..
include/mach ARM: OMAP1: ams-delta: initialize latch2 pins to safe values 2018-09-20 14:13:43 -07:00
ams-delta-fiq-handler.S ARM: OMAP1: ams-delta-fiq: Use <linux/platform_data/gpio-omap.h> 2018-09-20 14:21:47 -07:00
ams-delta-fiq.c Input: ams_delta_serio: Get FIQ buffer from platform_data 2018-07-02 23:05:14 -07:00
ams-delta-fiq.h Input: ams_delta_serio: use IRQ resource 2018-07-02 23:05:14 -07:00
board-ams-delta.c ARM: OMAP1: ams-delta: Fix audio permanently muted 2018-12-07 08:26:53 -08:00
board-fsample.c mtd: rawnand: Move platform_nand_xxx definitions out of rawnand.h 2018-10-03 11:12:25 +02:00
board-generic.c
board-h2-mmc.c mfd: tps65010: Move header file out of I2C realm 2017-08-15 08:27:22 +01:00
board-h2.c mtd: rawnand: Move platform_nand_xxx definitions out of rawnand.h 2018-10-03 11:12:25 +02:00
board-h2.h
board-h3-mmc.c mfd: tps65010: Move header file out of I2C realm 2017-08-15 08:27:22 +01:00
board-h3.c mtd: rawnand: Move platform_nand_xxx definitions out of rawnand.h 2018-10-03 11:12:25 +02:00
board-h3.h
board-htcherald.c ARM: OMAP1: constify gpio_led 2018-07-02 04:09:35 -07:00
board-innovator.c ARM: omap1: add const and initconst to omap_lcd_config 2017-10-02 12:33:15 -07:00
board-nand.c mtd: rawnand: Create a legacy struct and move ->IO_ADDR_{R, W} there 2018-10-03 11:12:25 +02:00
board-nokia770.c ARM: omap1: add const and initconst to omap_lcd_config 2017-10-02 12:33:15 -07:00
board-osk.c ARM: OMAP1: constify gpio_led 2018-07-02 04:09:35 -07:00
board-palmte.c ARM: omap1: add const and initconst to omap_lcd_config 2017-10-02 12:33:15 -07:00
board-palmtt.c ARM: omap1: add const and initconst to omap_lcd_config 2017-10-02 12:33:15 -07:00
board-palmz71.c ARM: omap1: add const and initconst to omap_lcd_config 2017-10-02 12:33:15 -07:00
board-perseus2.c mtd: rawnand: Move platform_nand_xxx definitions out of rawnand.h 2018-10-03 11:12:25 +02:00
board-sx1-mmc.c ARM: OMAP1: use IS_ENABLED() instead of checking for built-in or module 2016-08-26 08:41:59 -07:00
board-sx1.c ARM: omap1: add const and initconst to omap_lcd_config 2017-10-02 12:33:15 -07:00
board-sx1.h ARM: omap1: make headers more local 2015-12-01 21:52:50 +01:00
camera.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
clock_data.c
clock.c ARM: OMAP1: clock: Fix debugfs_create_*() usage 2018-02-14 08:35:14 -08:00
clock.h ARM: OMAP: clock: Remove unused mpurate cmdline option 2017-01-24 07:20:02 -08:00
common.h mtd: rawnand: plat_nand: Pass a nand_chip object to all platform_nand_ctrl hooks 2018-10-03 11:12:25 +02:00
devices.c ARM: OMAP1: use IS_ENABLED() instead of checking for built-in or module 2016-08-26 08:41:59 -07:00
dma.c ARM: OMAP1: DMA: Delete an unnecessary return statement in omap1_show_dma_caps() 2017-06-06 23:54:00 -07:00
fb.c ARM: OMAP1: use IS_ENABLED() instead of checking for built-in or module 2016-08-26 08:41:59 -07:00
flash.c ARM: omap1: make headers more local 2015-12-01 21:52:50 +01:00
flash.h ARM: omap1: make headers more local 2015-12-01 21:52:50 +01:00
fpga.c genirq: Remove irq argument from irq flow handlers 2015-09-16 15:47:51 +02:00
fpga.h
gpio7xx.c
gpio15xx.c
gpio16xx.c
i2c.c i2c: omap: move header to platform_data 2018-05-17 16:27:58 +02:00
i2c.h ARM: OMAP: Move plat/i2c.h into mach-omap1 folder 2018-02-14 10:28:13 -08:00
id.c
io.c
iomap.h
irq.c
Kconfig ARM: OMAP: Move dmtimer driver out of plat-omap to drivers under clocksource 2018-02-22 10:53:52 -08:00
lcd_dma.c
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Makefile.boot
mcbsp.c treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
mmc.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mux.c
ocpi.c
opp_data.c
opp.h
pm_bus.c
pm.c ARM: OMAP: Move dmtimer.h out of plat-omap 2018-02-22 10:53:06 -08:00
pm.h
reset.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
serial.c
sleep.S
soc.h
sram-init.c
sram.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
sram.S
time.c
timer.c ARM: OMAP: Move dmtimer.h out of plat-omap 2018-02-22 10:53:06 -08:00
timer32k.c
usb.c ARM: OMAP1: USB: delete redundant CPU class checks 2017-01-05 09:34:18 -08:00