summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMatti Aaltonen <matti.j.aaltonen@nokia.com>2011-03-01 10:10:35 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-03-21 20:32:39 -0300
commit94fd5b7401e330498331ea3667d796e74c63d08a (patch)
tree037c0c0d24d0440994e2ff209b4707d0a1028300 /include
parent3822f18d8f1c2cf13ade623b2bba6d4a7a1a3f53 (diff)
downloadtalos-obmc-linux-94fd5b7401e330498331ea3667d796e74c63d08a.tar.gz
talos-obmc-linux-94fd5b7401e330498331ea3667d796e74c63d08a.zip
[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>
Diffstat (limited to 'include')
-rw-r--r--include/linux/mfd/wl1273-core.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/mfd/wl1273-core.h b/include/linux/mfd/wl1273-core.h
index 9787293eae5f..db2f3f454a1b 100644
--- a/include/linux/mfd/wl1273-core.h
+++ b/include/linux/mfd/wl1273-core.h
@@ -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);
};
OpenPOWER on IntegriCloud