summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/siano/smsdvb.c
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2008-06-13 20:43:26 -0400
committerMichael Krufky <mkrufky@linuxtv.org>2008-06-13 20:43:26 -0400
commite8885cf665a7e8976f2fe47997becf1321d0bb23 (patch)
treeff1fa2f6f1b0986fafb5485a953836708eed6f6c /linux/drivers/media/dvb/siano/smsdvb.c
parent6d140732833c2c9db484133f00c798d63fedc243 (diff)
downloadmediapointer-dvb-s2-e8885cf665a7e8976f2fe47997becf1321d0bb23.tar.gz
mediapointer-dvb-s2-e8885cf665a7e8976f2fe47997becf1321d0bb23.tar.bz2
sms1xxx: update latest siano drop to 1.2.17
From: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Diffstat (limited to 'linux/drivers/media/dvb/siano/smsdvb.c')
-rw-r--r--linux/drivers/media/dvb/siano/smsdvb.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/siano/smsdvb.c b/linux/drivers/media/dvb/siano/smsdvb.c
index 6975e7c61..e02e011df 100644
--- a/linux/drivers/media/dvb/siano/smsdvb.c
+++ b/linux/drivers/media/dvb/siano/smsdvb.c
@@ -300,9 +300,14 @@ int smsdvb_hotplug(smscore_device_t *coredev, struct device *device,
if (smscore_get_device_mode(coredev) != 4)
{
+#if 1 // new siano drop (1.2.17) does this -- yuck
+ printk(KERN_ERR "%sSMS Device mode is not set for DVB operation.\n", __func__);
+ return 0;
+#else
rc = smscore_set_device_mode(coredev, 4);
if (rc < 0)
return rc;
+#endif
}
client = kzalloc(sizeof(smsdvb_client_t), GFP_KERNEL);
@@ -356,7 +361,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;