diff options
author | Srinivas Kandagatla <srinivas.kandagatla@linaro.org> | 2019-06-06 12:23:04 +0100 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2019-06-06 22:48:41 +0530 |
commit | 39194128701bf2af9bbc420ffe6e3cb5d2c16061 (patch) | |
tree | 926b22c4023c9235c3b034c7d35ad5139f5e5bbc /drivers/soundwire | |
parent | 9315d904c7e8f38886e2820fa6cb8d0fa723ea21 (diff) | |
download | linux-39194128701bf2af9bbc420ffe6e3cb5d2c16061.tar.bz2 |
soundwire: intel: set dai min and max channels correctly
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>
Diffstat (limited to 'drivers/soundwire')
-rw-r--r-- | drivers/soundwire/intel.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/soundwire/intel.c b/drivers/soundwire/intel.c index 31336b0271b0..60293a00a14e 100644 --- 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; } |