projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9315d90
)
soundwire: intel: set dai min and max channels correctly
author
Srinivas Kandagatla
<srinivas.kandagatla@linaro.org>
Thu, 6 Jun 2019 11:23:04 +0000
(12:23 +0100)
committer
Vinod Koul
<vkoul@kernel.org>
Thu, 6 Jun 2019 17:18:41 +0000
(22:48 +0530)
Looks like there is a copy paste error.
This patch fixes it!
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/soundwire/intel.c
patch
|
blob
|
history
diff --git
a/drivers/soundwire/intel.c
b/drivers/soundwire/intel.c
index 31336b0271b0767452aec5ba9454aeeb69d7bc9f..60293a00a14ee8accbc5a89d213fdb35449e0eee 100644
(file)
--- a/
drivers/soundwire/intel.c
+++ b/
drivers/soundwire/intel.c
@@
-715,8
+715,8
@@
static int intel_create_dai(struct sdw_cdns *cdns,
return -ENOMEM;
}
- dais[i].
playback
.channels_min = 1;
- dais[i].
playback
.channels_max = max_ch;
+ dais[i].
capture
.channels_min = 1;
+ dais[i].
capture
.channels_max = max_ch;
dais[i].capture.rates = SNDRV_PCM_RATE_48000;
dais[i].capture.formats = SNDRV_PCM_FMTBIT_S16_LE;
}