media: cx88: Fix regression: CX88_AUDIO_WM8775 can't be 0
authorHans Verkuil <hans.verkuil@cisco.com>
Tue, 27 Aug 2013 07:27:57 +0000 (04:27 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Sep 2013 00:21:55 +0000 (17:21 -0700)
commit1e4508a37512de3bcbc8475cd56bf2b887ae59f8
tree99fe33c0d862acd664986474edefd5cadf4d5ea5
parent098b05d9e286a59b74e6102992aa4c76dc7098dd
media: cx88: Fix regression: CX88_AUDIO_WM8775 can't be 0

commit f66b2a1c7f2ae3fb0d5b67d07ab4f5055fd3cf16 upstream.

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 facd23664f1d63c33fbc6da52261c8548ed3fbd4.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/media/pci/cx88/cx88.h