OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9191ffe
)
ASoC: qdsp6: q6afe-dai: Do not overwrite slim dai num_channels
author
Srinivas Kandagatla
<srinivas.kandagatla@linaro.org>
Wed, 4 Jul 2018 09:49:42 +0000
(10:49 +0100)
committer
Mark Brown
<broonie@kernel.org>
Wed, 4 Jul 2018 14:41:40 +0000
(15:41 +0100)
num_channels for slim dais are aready set int set_channel_map,
do not overwrite them in hw_params.
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/qcom/qdsp6/q6afe-dai.c
patch
|
blob
|
history
diff --git
a/sound/soc/qcom/qdsp6/q6afe-dai.c
b/sound/soc/qcom/qdsp6/q6afe-dai.c
index
8dd3683
..
074582a
100644
(file)
--- a/
sound/soc/qcom/qdsp6/q6afe-dai.c
+++ b/
sound/soc/qcom/qdsp6/q6afe-dai.c
@@
-81,7
+81,6
@@
static int q6slim_hw_params(struct snd_pcm_substream *substream,
struct q6afe_dai_data *dai_data = dev_get_drvdata(dai->dev);
struct q6afe_slim_cfg *slim = &dai_data->port_config[dai->id].slim;
- slim->num_channels = params_channels(params);
slim->sample_rate = params_rate(params);
switch (params_format(params)) {