diff options
author | Michael Krufky <mkrufky@linuxtv.org> | 2008-06-13 23:43:26 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-07-20 06:21:09 -0400 |
commit | f17407a85db3b86526d54e65698348873a6df617 (patch) | |
tree | ed1271461dc9faa88bcadf58a57fcc16b1adebf7 /drivers/media/dvb/siano/smsdvb.c | |
parent | 55ad310c2f21281f50fa040b7765a4a1151bd420 (diff) |
V4L/DVB (8277): sms1xxx: update latest siano drop to 1.2.17
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/dvb/siano/smsdvb.c')
-rw-r--r-- | drivers/media/dvb/siano/smsdvb.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/media/dvb/siano/smsdvb.c b/drivers/media/dvb/siano/smsdvb.c index 6975e7c61f87..e050e0da7900 100644 --- a/drivers/media/dvb/siano/smsdvb.c +++ b/drivers/media/dvb/siano/smsdvb.c | |||
@@ -300,9 +300,8 @@ int smsdvb_hotplug(smscore_device_t *coredev, struct device *device, | |||
300 | 300 | ||
301 | if (smscore_get_device_mode(coredev) != 4) | 301 | if (smscore_get_device_mode(coredev) != 4) |
302 | { | 302 | { |
303 | rc = smscore_set_device_mode(coredev, 4); | 303 | printk(KERN_ERR "%sSMS Device mode is not set for DVB operation.\n", __func__); |
304 | if (rc < 0) | 304 | return 0; |
305 | return rc; | ||
306 | } | 305 | } |
307 | 306 | ||
308 | client = kzalloc(sizeof(smsdvb_client_t), GFP_KERNEL); | 307 | client = kzalloc(sizeof(smsdvb_client_t), GFP_KERNEL); |
@@ -356,7 +355,7 @@ int smsdvb_hotplug(smscore_device_t *coredev, struct device *device, | |||
356 | goto frontend_error; | 355 | goto frontend_error; |
357 | } | 356 | } |
358 | 357 | ||
359 | params.initial_id = 0; | 358 | params.initial_id = 1; |
360 | params.data_type = MSG_SMS_DVBT_BDA_DATA; | 359 | params.data_type = MSG_SMS_DVBT_BDA_DATA; |
361 | params.onresponse_handler = smsdvb_onresponse; | 360 | params.onresponse_handler = smsdvb_onresponse; |
362 | params.onremove_handler = smsdvb_onremove; | 361 | params.onremove_handler = smsdvb_onremove; |