Procházet zdrojové kódy

ASoC: Blackfin I2S: add lost platform_device parameter to resume function

Commit dc7d7b830ee1 trimmed the platform_device parameter from all of the
suspend functions, but it also accidentally removed it from the resume
function in the Blackfin I2S driver.  So restore it.

Signed-off-by: Barry Song <barry.song@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Barry Song před 15 roky
rodič
revize
fab19bae0c
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  1. 2 1
      sound/soc/blackfin/bf5xx-i2s.c

+ 2 - 1
sound/soc/blackfin/bf5xx-i2s.c

@@ -227,7 +227,8 @@ static int bf5xx_i2s_probe(struct platform_device *pdev,
 	return 0;
 }
 
-static void bf5xx_i2s_remove(struct snd_soc_dai *dai)
+static void bf5xx_i2s_remove(struct platform_device *pdev,
+			struct snd_soc_dai *dai)
 {
 	pr_debug("%s enter\n", __func__);
 	peripheral_free_list(&sport_req[sport_num][0]);