]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3b8a1ffc4c48c48a833f2aa2e9931a95b1d8d0e5
tree53db2d817de8feaab9c7b7867360d83a51bc799d
parente26eca1e40d559a0d92cc351be8d43f583a7bb40
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