From 9b74de00f7b35427bbea34c5d59d6f05fc0e3a8f Mon Sep 17 00:00:00 2001 From: John Crispin Date: Fri, 13 Feb 2015 07:38:27 +0000 Subject: brcm2708: refresh patches MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Álvaro Fernández Rojas SVN-Revision: 44433 --- ...Add-a-parameter-to-turn-off-SPDIF-output-if-no-audio.patch | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) mode change 100755 => 100644 target/linux/brcm2708/patches-3.18/0084-Add-a-parameter-to-turn-off-SPDIF-output-if-no-audio.patch (limited to 'target/linux/brcm2708/patches-3.18/0084-Add-a-parameter-to-turn-off-SPDIF-output-if-no-audio.patch') diff --git a/target/linux/brcm2708/patches-3.18/0084-Add-a-parameter-to-turn-off-SPDIF-output-if-no-audio.patch b/target/linux/brcm2708/patches-3.18/0084-Add-a-parameter-to-turn-off-SPDIF-output-if-no-audio.patch old mode 100755 new mode 100644 index 2a6f816aed..080f8db104 --- a/target/linux/brcm2708/patches-3.18/0084-Add-a-parameter-to-turn-off-SPDIF-output-if-no-audio.patch +++ b/target/linux/brcm2708/patches-3.18/0084-Add-a-parameter-to-turn-off-SPDIF-output-if-no-audio.patch @@ -11,8 +11,6 @@ is set to 1, the SPDIF oputput will shutdown if no stream is playing. sound/soc/bcm/hifiberry_digi.c | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) -diff --git a/sound/soc/bcm/hifiberry_digi.c b/sound/soc/bcm/hifiberry_digi.c -index 76af8a6..b0e3d28 100644 --- a/sound/soc/bcm/hifiberry_digi.c +++ b/sound/soc/bcm/hifiberry_digi.c @@ -26,6 +26,11 @@ @@ -27,7 +25,7 @@ index 76af8a6..b0e3d28 100644 static int samplerate=44100; static int snd_rpi_hifiberry_digi_init(struct snd_soc_pcm_runtime *rtd) -@@ -38,6 +43,25 @@ static int snd_rpi_hifiberry_digi_init(struct snd_soc_pcm_runtime *rtd) +@@ -38,6 +43,25 @@ static int snd_rpi_hifiberry_digi_init(s return 0; } @@ -53,7 +51,7 @@ index 76af8a6..b0e3d28 100644 static int snd_rpi_hifiberry_digi_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params) { -@@ -70,7 +94,8 @@ static int snd_rpi_hifiberry_digi_hw_params(struct snd_pcm_substream *substream, +@@ -70,7 +94,8 @@ static int snd_rpi_hifiberry_digi_hw_par break; default: dev_err(substream->pcm->dev, @@ -63,7 +61,7 @@ index 76af8a6..b0e3d28 100644 } snd_soc_dai_set_clkdiv(codec_dai, WM8804_MCLK_DIV, mclk_div); -@@ -96,6 +121,8 @@ static int snd_rpi_hifiberry_digi_hw_params(struct snd_pcm_substream *substream, +@@ -96,6 +121,8 @@ static int snd_rpi_hifiberry_digi_hw_par /* machine stream operations */ static struct snd_soc_ops snd_rpi_hifiberry_digi_ops = { .hw_params = snd_rpi_hifiberry_digi_hw_params, @@ -72,6 +70,3 @@ index 76af8a6..b0e3d28 100644 }; static struct snd_soc_dai_link snd_rpi_hifiberry_digi_dai[] = { --- -1.8.3.2 - -- cgit v1.2.3