Skip to content

Commit f66b2a1

Browse files
Hans Verkuilmchehab
authored andcommitted
[media] cx88: Fix regression: CX88_AUDIO_WM8775 can't be 0
Cards using the wm8775 specify that in their card struct. Those that do not use it leave the audio_chip field to 0. Unfortunately, the CX88_AUDIO_WM8775 enum is 0 as well, so boards that do not have the wm8775 still try to load and use that driver. Change it to 1 to fix this. This regression was introduced in commit facd236. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Reported-by: Knut Petersen <Knut_Petersen@t-online.de> Tested-by: Knut Petersen <Knut_Petersen@t-online.de> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com> Cc: stable@vger.kernel.org
1 parent d2b903b commit f66b2a1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/media/pci/cx88/cx88.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ struct cx88_input {
259259
};
260260

261261
enum cx88_audio_chip {
262-
CX88_AUDIO_WM8775,
262+
CX88_AUDIO_WM8775 = 1,
263263
CX88_AUDIO_TVAUDIO,
264264
};
265265

0 commit comments

Comments
 (0)