Skip to content

Commit

Permalink
Merge branch 'for-2.6.30' into for-2.6.31
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Brown committed May 12, 2009
2 parents 97b8096 + 1ffafeb commit 13e2c86
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion sound/arm/pxa2xx-ac97-lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ static void set_resetgpio_mode(int resetgpio_action)
switch (resetgpio_action) {
case RESETGPIO_NORMAL_ALTFUNC:
if (reset_gpio == 113)
mode = 113 | GPIO_OUT | GPIO_DFLT_LOW;
mode = 113 | GPIO_ALT_FN_2_OUT;
if (reset_gpio == 95)
mode = 95 | GPIO_ALT_FN_1_OUT;
break;
Expand Down
3 changes: 3 additions & 0 deletions sound/soc/soc-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -992,6 +992,9 @@ static int soc_remove(struct platform_device *pdev)
struct snd_soc_platform *platform = card->platform;
struct snd_soc_codec_device *codec_dev = socdev->codec_dev;

if (!card->instantiated)
return 0;

run_delayed_work(&card->delayed_work);

if (platform->remove)
Expand Down

0 comments on commit 13e2c86

Please sign in to comment.