Patch "ASoC: sst-bxt-da7219_max98357a: fix obsoleted initializers for array" has been added to the 4.8-stable tree
Subsystems (4)
This is a note to let you know that I've just added the patch titled
ASoC: sst-bxt-da7219_max98357a: fix obsoleted initializers for array
to the 4.8-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
asoc-sst-bxt-da7219_max98357a-fix-obsoleted-initializers-for-array.patch
and it can be found in the queue-4.8 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
43d443dc257c00ef3a3f940b6abfb7537c4fcbe8Mon Sep 17 00:00:00 2001
From: Takashi Sakamoto <[email protected]>
Date: Tue, 27 Sep 2016 07:45:09 +0900
Subject: ASoC: sst-bxt-da7219_max98357a: fix obsoleted initializers for array
From: Takashi Sakamoto <[email protected]>
commit 43d443dc257c00ef3a3f940b6abfb7537c4fcbe8 upstream.
Sparse reports below warnings.
bxt_da7219_max98357a.c:250:9: warning: obsolete array initializer, use C99 syntax bxt_da7219_max98357a.c:275:9: warning: obsolete array initializer, use C99 syntax bxt_da7219_max98357a.c:290:9: warning: obsolete array initializer, use C99 syntax bxt_da7219_max98357a.c:304:9: warning: obsolete array initializer, use C99 syntax bxt_da7219_max98357a.c:317:9: warning: obsolete array initializer, use C99 syntax
There's no need to use obsoleted way. This commit fixes it.
--- sound/soc/intel/boards/bxt_da7219_max98357a.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)
sound/soc/intel/boards/bxt_da7219_max98357a.c +6 -6
@@ -255,7 +255,7 @@ static struct snd_soc_ops broxton_da7219/* broxton digital audio interface glue - connects codec <--> CPU */ static struct snd_soc_dai_link broxton_dais[] = {/* Front End DAI links */ - [BXT_DPCM_AUDIO_PB] + [BXT_DPCM_AUDIO_PB ] = { .name ="Bxt Audio Port" , .stream_name ="Audio" ,
@@ -271,7 +271,7 @@ static struct snd_soc_dai_link broxton_d .dpcm_playback = 1, .ops = &broxton_da7219_fe_ops, }, - [BXT_DPCM_AUDIO_CP ] + [BXT_DPCM_AUDIO_CP] = { .name = "Bxt Audio Capture Port", .stream_name = "Audio Record",
@@ -286,7 +286,7 @@ static struct snd_soc_dai_link broxton_d .dpcm_capture = 1, .ops = &broxton_da7219_fe_ops, }, - [BXT_DPCM_AUDIO_REF_CP ] + [BXT_DPCM_AUDIO_REF_CP] = { .name = "Bxt Audio Reference cap", .stream_name = "Refcap",
@@ -300,7 +300,7 @@ static struct snd_soc_dai_link broxton_d .nonatomic = 1, .dynamic = 1, }, - [BXT_DPCM_AUDIO_HDMI1_PB ] + [BXT_DPCM_AUDIO_HDMI1_PB] = { .name = "Bxt HDMI Port1", .stream_name = "Hdmi1",
@@ -313,7 +313,7 @@ static struct snd_soc_dai_link broxton_d .nonatomic = 1, .dynamic = 1, }, - [BXT_DPCM_AUDIO_HDMI2_PB ] + [BXT_DPCM_AUDIO_HDMI2_PB] = { .name = "Bxt HDMI Port2", .stream_name = "Hdmi2",
@@ -326,7 +326,7 @@ static struct snd_soc_dai_link broxton_d .nonatomic = 1, .dynamic = 1, }, - [BXT_DPCM_AUDIO_HDMI3_PB ] + [BXT_DPCM_AUDIO_HDMI3_PB] = { .name = "Bxt HDMI Port3", .stream_name = "Hdmi3",
Patches currently in stable-queue which might be from [email protected] are
queue-4.8/asoc-sst-bxt-rt298-fix-obsoleted-initializers-for-array.patch queue-4.8/asoc-sst-bxt-da7219_max98357a-fix-obsoleted-initializers-for-array.patch