summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/pvrusb2/pvrusb2-debugifc.c
diff options
context:
space:
mode:
authorMike Isely <isely@pobox.com>2006-03-25 16:40:16 -0600
committerMike Isely <isely@pobox.com>2006-03-25 16:40:16 -0600
commit22184ee779d37f2c64b08ea427d939f0e2d58b37 (patch)
treeadfb0a1119f17af1ea3cd344bbf04a51f128a766 /linux/drivers/media/video/pvrusb2/pvrusb2-debugifc.c
parentacea6b43b12c290328f857fa981b2c8b3d598b45 (diff)
downloadmediapointer-dvb-s2-22184ee779d37f2c64b08ea427d939f0e2d58b37.tar.gz
mediapointer-dvb-s2-22184ee779d37f2c64b08ea427d939f0e2d58b37.tar.bz2
Implement method in pvrusb2 to force the decoder to reset
From: Mike Isely <isely@pobox.com> This change threads logic through the pvrusb2 to make it possible to command the decoder chip to reset itself. The method is decoder-agnostic; the part of the pvrusb2 which control's that chip's module has to provide the final hook. This just lays the foundation. Signed-off-by: Mike Isely <isely@pobox.com>
Diffstat (limited to 'linux/drivers/media/video/pvrusb2/pvrusb2-debugifc.c')
-rw-r--r--linux/drivers/media/video/pvrusb2/pvrusb2-debugifc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/linux/drivers/media/video/pvrusb2/pvrusb2-debugifc.c b/linux/drivers/media/video/pvrusb2/pvrusb2-debugifc.c
index f5c267123..16e6ea317 100644
--- a/linux/drivers/media/video/pvrusb2/pvrusb2-debugifc.c
+++ b/linux/drivers/media/video/pvrusb2/pvrusb2-debugifc.c
@@ -367,6 +367,8 @@ int pvr2_debugifc_do1cmd(struct pvr2_hdw *hdw,const char *buf,
return pvr2_hdw_cmd_deep_reset(hdw);
} else if (debugifc_match_keyword(wptr,wlen,"firmware")) {
return pvr2_upload_firmware2(hdw);
+ } else if (debugifc_match_keyword(wptr,wlen,"decoder")) {
+ return pvr2_hdw_cmd_decoder_reset(hdw);
}
return -EINVAL;
} else if (debugifc_match_keyword(wptr,wlen,"subsys_flags")) {