diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-03-07 11:53:46 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-03-21 07:43:09 -0300 |
commit | faab6820b3c11ca62fd2284d2e5174ccb0650b05 (patch) | |
tree | d2ede7949e920dcf8d16c8fe3b1e2b0a50d283fa | |
parent | e5d218ee75787bbe5bbe6c570797443c877cd4e5 (diff) | |
download | blackbird-op-linux-faab6820b3c11ca62fd2284d2e5174ccb0650b05.tar.gz blackbird-op-linux-faab6820b3c11ca62fd2284d2e5174ccb0650b05.zip |
[media] siano: add some new messages to the smscoreapi
Based on Doron Cohen's patch:
http://patchwork.linuxtv.org/patch/7887/
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r-- | drivers/media/common/siano/smscoreapi.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/drivers/media/common/siano/smscoreapi.c b/drivers/media/common/siano/smscoreapi.c index ba73293cf7d3..67d0319dc013 100644 --- a/drivers/media/common/siano/smscoreapi.c +++ b/drivers/media/common/siano/smscoreapi.c @@ -1429,7 +1429,23 @@ void smscore_onresponse(struct smscore_device_t *coredev, rc = client->onresponse_handler(client->context, cb); if (rc < 0) { + smsendian_handle_rx_message((struct SmsMsgData_ST *)phdr); + switch (phdr->msgType) { + case MSG_SMS_ISDBT_TUNE_RES: + break; + case MSG_SMS_RF_TUNE_RES: + break; + case MSG_SMS_SIGNAL_DETECTED_IND: + break; + case MSG_SMS_NO_SIGNAL_IND: + break; + case MSG_SMS_SPI_INT_LINE_SET_RES: + break; + case MSG_SMS_INTERFACE_LOCK_IND: + break; + case MSG_SMS_INTERFACE_UNLOCK_IND: + break; case MSG_SMS_GET_VERSION_EX_RES: { struct SmsVersionRes_ST *ver = |