mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-29 23:53:32 +00:00
[ARM] pxa/mioa701: use GPIO95 as AC97 reset line
MioA701 board's GPIO95 is the AC97 line. The other GPIO113 is not connected to the sound chip, but to the GSM chip as a wakeup line. It happens that when the pxa2xx_ac97 driver reconfigures the gpio as an "out gpio" for AC97 reset (bug workaround), it hangs the GSM chip. As AC97 platform data now enables to specify the AC97 reset line, use it. Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr> Signed-off-by: Eric Miao <eric.miao@marvell.com>
This commit is contained in:
parent
eae17754ab
commit
cc8d2730ad
1 changed files with 5 additions and 1 deletions
|
@ -742,6 +742,10 @@ struct i2c_pxa_platform_data i2c_pdata = {
|
|||
.fast_mode = 1,
|
||||
};
|
||||
|
||||
static pxa2xx_audio_ops_t mioa701_ac97_info = {
|
||||
.reset_gpio = 95,
|
||||
};
|
||||
|
||||
/*
|
||||
* Mio global
|
||||
*/
|
||||
|
@ -815,7 +819,7 @@ static void __init mioa701_machine_init(void)
|
|||
pxa_set_keypad_info(&mioa701_keypad_info);
|
||||
wm97xx_bat_set_pdata(&mioa701_battery_data);
|
||||
pxa_set_udc_info(&mioa701_udc_info);
|
||||
pxa_set_ac97_info(NULL);
|
||||
pxa_set_ac97_info(&mioa701_ac97_info);
|
||||
pm_power_off = mioa701_poweroff;
|
||||
arm_pm_restart = mioa701_restart;
|
||||
platform_add_devices(devices, ARRAY_SIZE(devices));
|
||||
|
|
Loading…
Reference in a new issue