Commit 13e2c86c authored by Mark Brown's avatar Mark Brown

Merge branch 'for-2.6.30' into for-2.6.31

parents 97b8096d 1ffafeb5
...@@ -65,7 +65,7 @@ static void set_resetgpio_mode(int resetgpio_action) ...@@ -65,7 +65,7 @@ static void set_resetgpio_mode(int resetgpio_action)
switch (resetgpio_action) { switch (resetgpio_action) {
case RESETGPIO_NORMAL_ALTFUNC: case RESETGPIO_NORMAL_ALTFUNC:
if (reset_gpio == 113) if (reset_gpio == 113)
mode = 113 | GPIO_OUT | GPIO_DFLT_LOW; mode = 113 | GPIO_ALT_FN_2_OUT;
if (reset_gpio == 95) if (reset_gpio == 95)
mode = 95 | GPIO_ALT_FN_1_OUT; mode = 95 | GPIO_ALT_FN_1_OUT;
break; break;
......
...@@ -992,6 +992,9 @@ static int soc_remove(struct platform_device *pdev) ...@@ -992,6 +992,9 @@ static int soc_remove(struct platform_device *pdev)
struct snd_soc_platform *platform = card->platform; struct snd_soc_platform *platform = card->platform;
struct snd_soc_codec_device *codec_dev = socdev->codec_dev; struct snd_soc_codec_device *codec_dev = socdev->codec_dev;
if (!card->instantiated)
return 0;
run_delayed_work(&card->delayed_work); run_delayed_work(&card->delayed_work);
if (platform->remove) if (platform->remove)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment