All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] soundwire: intel: set dai min and max channels correctly
@ 2019-06-06 11:23 Srinivas Kandagatla
  2019-06-06 17:19 ` Vinod Koul
  0 siblings, 1 reply; 2+ messages in thread
From: Srinivas Kandagatla @ 2019-06-06 11:23 UTC (permalink / raw)
  To: vkoul; +Cc: pierre-louis.bossart, alsa-devel, linux-kernel, Srinivas Kandagatla

Looks like there is a copy paste error.
This patch fixes it!

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
---
 drivers/soundwire/intel.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/soundwire/intel.c b/drivers/soundwire/intel.c
index 92be6ad84e8d..317873bc0555 100644
--- a/drivers/soundwire/intel.c
+++ b/drivers/soundwire/intel.c
@@ -721,8 +721,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;
 		}
-- 
2.21.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] soundwire: intel: set dai min and max channels correctly
  2019-06-06 11:23 [PATCH] soundwire: intel: set dai min and max channels correctly Srinivas Kandagatla
@ 2019-06-06 17:19 ` Vinod Koul
  0 siblings, 0 replies; 2+ messages in thread
From: Vinod Koul @ 2019-06-06 17:19 UTC (permalink / raw)
  To: Srinivas Kandagatla; +Cc: pierre-louis.bossart, alsa-devel, linux-kernel

On 06-06-19, 12:23, Srinivas Kandagatla wrote:
> Looks like there is a copy paste error.
> This patch fixes it!

Applied, thanks

-- 
~Vinod

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-06-06 17:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-06 11:23 [PATCH] soundwire: intel: set dai min and max channels correctly Srinivas Kandagatla
2019-06-06 17:19 ` Vinod Koul

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.