[alsa-devel] WL1273 FM Radio driver...
Matti J. Aaltonen
matti.j.aaltonen at nokia.com
Mon Feb 7 15:09:04 CET 2011
On Mon, 2011-02-07 at 11:48 -0200, ext Mauro Carvalho Chehab wrote:
> Em 07-02-2011 11:10, Mark Brown escreveu:
> > On Mon, Feb 07, 2011 at 10:48:03AM -0200, Mauro Carvalho Chehab wrote:
> >> Em 07-02-2011 10:02, Mark Brown escreveu:
> >>> On Mon, Feb 07, 2011 at 10:00:16AM -0200, Mauro Carvalho Chehab wrote:
> >>>> the MFD part (for example, wl1273_fm_read_reg/wl1273_fm_write_cmd/wl1273_fm_write_data).
> >>>> The logic that are related to control the radio (wl1273_fm_set_audio, wl1273_fm_set_volume,
> >>>> etc) are not related to access the device via the MFD bus. They should be at
> >>>> the media part of the driver, where they belong.
> >>> Those functions are being used by the audio driver.
> >> Not sure if I understood your comments. Several media drivers have alsa drivers:
> > There is an audio driver for this chip and it is using those functions.
> Where are the other drivers that depend on it?
There's the MFD driver driver/mfd/wl1273-core.c, which is to offer the
(I2C) I/O functions to the child drivers:
drivers/media/radio/radio-wl1273.c and sound/soc/codecs/wl1273.c.
Both children depend on the MFD driver for I/O and the codec also
depends on the presence of the radio-wl1273 driver because without the
v4l2 part nothing can be done...
More information about the Alsa-devel