mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-20 21:51:05 +00:00
[media] MFD: WL1273 FM Radio: MFD driver for the FM radio
This is the core of the WL1273 FM radio driver, it connects the two child modules. The two child drivers are drivers/media/radio/radio-wl1273.c and sound/soc/codecs/wl1273.c. The radio-wl1273 driver implements the V4L2 interface and communicates with the device. The ALSA codec offers digital audio, without it only analog audio is available. Signed-off-by: Matti J. Aaltonen <matti.j.aaltonen@nokia.com> Acked-by: Samuel Ortiz <sameo@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
3822f18d8f
commit
94fd5b7401
3 changed files with 149 additions and 4 deletions
|
@ -280,7 +280,9 @@ struct wl1273_core {
|
|||
|
||||
struct i2c_client *client;
|
||||
|
||||
int (*read)(struct wl1273_core *core, u8, u16 *);
|
||||
int (*write)(struct wl1273_core *core, u8, u16);
|
||||
int (*write_data)(struct wl1273_core *core, u8 *, u16);
|
||||
int (*set_audio)(struct wl1273_core *core, unsigned int);
|
||||
int (*set_volume)(struct wl1273_core *core, unsigned int);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue