aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/dvb/siano/smsdvb.c
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2008-06-14 00:43:26 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-07-20 07:21:09 -0300
commitf17407a85db3b86526d54e65698348873a6df617 (patch)
treeed1271461dc9faa88bcadf58a57fcc16b1adebf7 /drivers/media/dvb/siano/smsdvb.c
parent55ad310c2f21281f50fa040b7765a4a1151bd420 (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.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/media/dvb/siano/smsdvb.c b/drivers/media/dvb/siano/smsdvb.c
index 6975e7c61f8..e050e0da790 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,
if (smscore_get_device_mode(coredev) != 4)
{
- rc = smscore_set_device_mode(coredev, 4);
- if (rc < 0)
- return rc;
+ printk(KERN_ERR "%sSMS Device mode is not set for DVB operation.\n", __func__);
+ return 0;
}
client = kzalloc(sizeof(smsdvb_client_t), GFP_KERNEL);
@@ -356,7 +355,7 @@ int smsdvb_hotplug(smscore_device_t *coredev, struct device *device,
goto frontend_error;
}
- params.initial_id = 0;
+ params.initial_id = 1;
params.data_type = MSG_SMS_DVBT_BDA_DATA;
params.onresponse_handler = smsdvb_onresponse;
params.onremove_handler = smsdvb_onremove;