diff options
Diffstat (limited to 'drivers/samsung/fm_si4709/Si4709_main.c')
-rw-r--r-- | drivers/samsung/fm_si4709/Si4709_main.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/samsung/fm_si4709/Si4709_main.c b/drivers/samsung/fm_si4709/Si4709_main.c index 5531c12..c0fcbfc 100644 --- a/drivers/samsung/fm_si4709/Si4709_main.c +++ b/drivers/samsung/fm_si4709/Si4709_main.c @@ -182,6 +182,20 @@ static long Si4709_ioctl(struct file *filp, unsigned int ioctl_cmd, } break; + case Si4709_IOC_SEEK_FULL: + { + u32 frequency = 0; + debug("Si4709_IOC_SEEK_FULL called\n"); + + ret = (long)Si4709_dev_seek_full(&frequency); + if (ret < 0) + debug("Si4709_IOC_SEEK_FULL failed\n"); + else if (copy_to_user + (argp, (void *)&frequency, sizeof(u32))) + ret = -EFAULT; + } + break; + case Si4709_IOC_SEEK_UP: { u32 frequency = 0; |