diff options
author | Joonyoung Shim <jy0922.shim@samsung.com> | 2011-03-11 03:54:46 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-05-20 09:27:43 -0300 |
commit | 0830be3fe107372b375256c5303cabd85d4be234 (patch) | |
tree | 4bfc253ded7b4d1020c336601255b223fb27f6a4 /drivers/media/radio/si470x/radio-si470x.h | |
parent | cc73b4b57c59141bb8a99f86a1af95f296262558 (diff) | |
download | blackbird-op-linux-0830be3fe107372b375256c5303cabd85d4be234.tar.gz blackbird-op-linux-0830be3fe107372b375256c5303cabd85d4be234.zip |
[media] radio-si470x: support seek and tune interrupt enable
Currently we use busy waiting to seek and tune, it can replace to
interrupt way. SI470X I2C driver supports interrupt way to week and tune
via this patch.
Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/radio/si470x/radio-si470x.h')
-rw-r--r-- | drivers/media/radio/si470x/radio-si470x.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/radio/si470x/radio-si470x.h b/drivers/media/radio/si470x/radio-si470x.h index 4a4e908db04c..9ef671657771 100644 --- a/drivers/media/radio/si470x/radio-si470x.h +++ b/drivers/media/radio/si470x/radio-si470x.h @@ -158,6 +158,9 @@ struct si470x_device { unsigned int rd_index; unsigned int wr_index; + struct completion completion; + bool stci_enabled; /* Seek/Tune Complete Interrupt */ + #if defined(CONFIG_USB_SI470X) || defined(CONFIG_USB_SI470X_MODULE) /* reference to USB and video device */ struct usb_device *usbdev; |