diff options
author | Srinivas Kandagatla <srinivas.kandagatla@linaro.org> | 2019-06-06 07:23:04 -0400 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2019-06-06 13:18:41 -0400 |
commit | 39194128701bf2af9bbc420ffe6e3cb5d2c16061 (patch) | |
tree | 926b22c4023c9235c3b034c7d35ad5139f5e5bbc /drivers/soundwire | |
parent | 9315d904c7e8f38886e2820fa6cb8d0fa723ea21 (diff) |
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, | |||
715 | return -ENOMEM; | 715 | return -ENOMEM; |
716 | } | 716 | } |
717 | 717 | ||
718 | dais[i].playback.channels_min = 1; | 718 | dais[i].capture.channels_min = 1; |
719 | dais[i].playback.channels_max = max_ch; | 719 | dais[i].capture.channels_max = max_ch; |
720 | dais[i].capture.rates = SNDRV_PCM_RATE_48000; | 720 | dais[i].capture.rates = SNDRV_PCM_RATE_48000; |
721 | dais[i].capture.formats = SNDRV_PCM_FMTBIT_S16_LE; | 721 | dais[i].capture.formats = SNDRV_PCM_FMTBIT_S16_LE; |
722 | } | 722 | } |