projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3228723
)
ASoC: intel - use SNDRV_CTL_ELEM_ID_NAME_MAXLEN
author
Vinod Koul
<vinod.koul@intel.com>
Fri, 17 Apr 2015 17:23:33 +0000
(22:53 +0530)
committer
Mark Brown
<broonie@kernel.org>
Mon, 27 Apr 2015 14:43:43 +0000
(15:43 +0100)
we have defined SNDRV_CTL_ELEM_ID_NAME_MAXLEN as size of name array so use
this define instead of numeric value
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/atom/sst-atom-controls.h
patch
|
blob
|
history
diff --git
a/sound/soc/intel/atom/sst-atom-controls.h
b/sound/soc/intel/atom/sst-atom-controls.h
index
daecc58
..
c55f76a
100644
(file)
--- a/
sound/soc/intel/atom/sst-atom-controls.h
+++ b/
sound/soc/intel/atom/sst-atom-controls.h
@@
-695,7
+695,7
@@
struct sst_gain_mixer_control {
u16 module_id;
u16 pipe_id;
u16 task_id;
- char pname[
44
];
+ char pname[
SNDRV_CTL_ELEM_ID_NAME_MAXLEN
];
struct snd_soc_dapm_widget *w;
};