diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2015-12-21 19:09:53 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-12-21 19:53:50 +0100 |
commit | b56fa687e02b27f8bd9d282950a88c2ed23d766b (patch) | |
tree | ea2b9c44eaee4c4e2ea88bb713b09c712f7e3cf5 /mm/cma_debug.c | |
parent | dbec6719ac036f68568d8488805d41346c021eff (diff) |
ALSA: fm801: detect FM-only card earlier
If user does not supply tea575x_tuner parameter the driver tries to detect the
tuner type. The failed codec initialization is considered as FM-only card
present, however the driver still registers an IRQ handler for it.
Move codec detection earlier to set tea575x_tuner parameter before check.
Here the following functions are introduced
reset_coded() resets AC97 codec
snd_fm801_chip_multichannel_init() initializes cards with multichannel support
Fixes: 5618955c4269 (ALSA: fm801: move to pcim_* and devm_* functions)
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'mm/cma_debug.c')
0 files changed, 0 insertions, 0 deletions