media: winbond-cir: no need for reset after resume
An IR reset is only used when the IR hardware reports an error. Signed-off-by: Sean Young <sean@mess.org> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
This commit is contained in:
parent
b820c2cf0e
commit
26748c0d86
@ -997,7 +997,6 @@ wbcir_resume(struct pnp_dev *device)
|
||||
struct wbcir_data *data = pnp_get_drvdata(device);
|
||||
|
||||
wbcir_init_hw(data);
|
||||
ir_raw_event_reset(data->dev);
|
||||
enable_irq(data->irq);
|
||||
led_classdev_resume(&data->led);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user