projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c240ac9
)
[media] ttusbir: do not set led twice on resume
author
Sean Young
<sean@mess.org>
Tue, 29 Jan 2013 11:19:27 +0000
(08:19 -0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Fri, 8 Feb 2013 16:11:14 +0000
(14:11 -0200)
led_classdev_resume already sets the led.
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/rc/ttusbir.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/media/rc/ttusbir.c
b/drivers/media/rc/ttusbir.c
index 78be8a91422533d7c6396dabadabb7af148a31a9..f9226b83de4135af4e1be904fb14fc3bbe43a10e 100644
(file)
--- a/
drivers/media/rc/ttusbir.c
+++ b/
drivers/media/rc/ttusbir.c
@@
-408,9
+408,8
@@
static int ttusbir_resume(struct usb_interface *intf)
struct ttusbir *tt = usb_get_intfdata(intf);
int i, rc;
- led_classdev_resume(&tt->led);
tt->is_led_on = true;
-
ttusbir_set_led(tt
);
+
led_classdev_resume(&tt->led
);
for (i = 0; i < NUM_URBS; i++) {
rc = usb_submit_urb(tt->urb[i], GFP_KERNEL);