From 0de243b5677f9107b36034576e442a7e66bb692b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Povi=C5=A1er?= Date: Thu, 23 Feb 2023 21:15:53 +0100 Subject: [PATCH] gpu: drm: apple: There's no capture MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Martin PoviĊĦer --- drivers/gpu/drm/apple/audio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/apple/audio.c b/drivers/gpu/drm/apple/audio.c index 93fa7a5b5523..02c4ff38b5e7 100644 --- a/drivers/gpu/drm/apple/audio.c +++ b/drivers/gpu/drm/apple/audio.c @@ -436,7 +436,7 @@ static int dcpaud_create_pcm(struct dcp_audio *dcpaud) } dcpaud->chan = chan; - ret = snd_pcm_new(card, card->shortname, 0, 1, 1, &pcm); + ret = snd_pcm_new(card, card->shortname, 0, 1, 0, &pcm); if (ret) return ret; -- 2.37.0 (Apple Git-136)