summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/pvrusb2/pvrusb2-encoder.c
diff options
context:
space:
mode:
authorMike Isely <isely@pobox.com>2008-02-09 00:02:57 -0600
committerMike Isely <isely@pobox.com>2008-02-09 00:02:57 -0600
commit68b4313913b7abb511a7d1fd565f8fb52e04d173 (patch)
tree614f3d7dba1a35476c358371495aef49f295c5e9 /linux/drivers/media/video/pvrusb2/pvrusb2-encoder.c
parent492871136f3dbe02e441ad5992c20e8d2a529678 (diff)
downloadmediapointer-dvb-s2-68b4313913b7abb511a7d1fd565f8fb52e04d173.tar.gz
mediapointer-dvb-s2-68b4313913b7abb511a7d1fd565f8fb52e04d173.tar.bz2
pvrusb2: Make LED control into a device-specific attribute
From: Mike Isely <isely@pobox.com> The pvrusb2 driver has used hardcoded logic to control the LED on the device. However this is really Hauppauge-specific behavior. This change defines a new device attribute for LED control and sets things up appropriately for Hauppauge devices. Signed-off-by: Mike Isely <isely@pobox.com>
Diffstat (limited to 'linux/drivers/media/video/pvrusb2/pvrusb2-encoder.c')
-rw-r--r--linux/drivers/media/video/pvrusb2/pvrusb2-encoder.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/linux/drivers/media/video/pvrusb2/pvrusb2-encoder.c b/linux/drivers/media/video/pvrusb2/pvrusb2-encoder.c
index 81d6d9fe7..70a2bc251 100644
--- a/linux/drivers/media/video/pvrusb2/pvrusb2-encoder.c
+++ b/linux/drivers/media/video/pvrusb2/pvrusb2-encoder.c
@@ -513,8 +513,6 @@ int pvr2_encoder_start(struct pvr2_hdw *hdw)
/* unmask some interrupts */
pvr2_write_register(hdw, 0x0048, 0xbfffffff);
- pvr2_led_ctrl(hdw, 1);
-
pvr2_encoder_vcmd(hdw,CX2341X_ENC_MUTE_VIDEO,1,
hdw->input_val == PVR2_CVAL_INPUT_RADIO ? 1 : 0);
@@ -557,8 +555,6 @@ int pvr2_encoder_stop(struct pvr2_hdw *hdw)
break;
}
- pvr2_led_ctrl(hdw, 0);
-
return status;
}