ALSA: tea575x: unify read/write functions
authorOndrej Zary <linux@rainbow-software.org>
Mon, 9 May 2011 21:39:26 +0000 (23:39 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 10 May 2011 07:29:42 +0000 (09:29 +0200)
commit14219d06592025541559027d0fd8f96ef75f313c
tree0a137c2c9ef92b44c4a901c0c9c7df665db95eaf
parent59bb7f0eebe69aa32a5c7917a23a7da1c5667d73
ALSA: tea575x: unify read/write functions

Implement generic read/write functions to access TEA575x tuners. They're now
implemented 4 times (once in es1968 and 3 times in fm801).
This also allows mute to work on all cards.
Also improve tuner detection/initialization.

Signed-off-by: Ondrej Zary <linux@rainbow-software.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/tea575x-tuner.h
sound/i2c/other/tea575x-tuner.c