[media] snd_tea575x: Add write_/read_val operations
[platform/adaptation/renesas_rcar/renesas_kernel.git] / include / sound / tea575x-tuner.h
index 0c3c2fb..7bd6f61 100644 (file)
 struct snd_tea575x;
 
 struct snd_tea575x_ops {
+       /* Drivers using snd_tea575x must either define read_ and write_val */
+       void (*write_val)(struct snd_tea575x *tea, u32 val);
+       u32 (*read_val)(struct snd_tea575x *tea);
+       /* Or define the 3 pin functions */
        void (*set_pins)(struct snd_tea575x *tea, u8 pins);
        u8 (*get_pins)(struct snd_tea575x *tea);
        void (*set_direction)(struct snd_tea575x *tea, bool output);