ALSA: ppc: keywest: check if DEQ was already instantiated
authorWolfram Sang <wsa@the-dreams.de>
Sat, 23 May 2015 16:15:11 +0000 (18:15 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 29 May 2015 10:54:10 +0000 (12:54 +0200)
commit28760c195e22856aedbacad5eb7b46ac1d76bb90
tree53db2d817de8feaab9c7b7867360d83a51bc799d
parent225068ab274dbd5c3a43fd80a6d553ccdf7b2c6f
ALSA: ppc: keywest: check if DEQ was already instantiated

Due to changes in i2c-powermac, for some Macs the DEQ is instantiated
now in i2c-powermac while some need the instantiation here in the
keywest sound driver. The proper fix is to convert this driver to AOA.
Until then support both ways of instantiation. Before this patch, some
Macs lost sound because the sound driver failed when instantiating the
DEQ for the second time.

Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Tested-by: Dan DeVoto <dand1972@yahoo.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/ppc/keywest.c