Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Srinivas Kandagatla and committed by
Vinod Koul
39194128 9315d904

+2 -2
+2 -2
drivers/soundwire/intel.c
··· 715 715 return -ENOMEM; 716 716 } 717 717 718 - dais[i].playback.channels_min = 1; 719 - dais[i].playback.channels_max = max_ch; 718 + dais[i].capture.channels_min = 1; 719 + dais[i].capture.channels_max = max_ch; 720 720 dais[i].capture.rates = SNDRV_PCM_RATE_48000; 721 721 dais[i].capture.formats = SNDRV_PCM_FMTBIT_S16_LE; 722 722 }