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:
Sean Young 2021-11-27 18:55:51 +01:00 committed by Mauro Carvalho Chehab
parent b820c2cf0e
commit 26748c0d86

View file

@ -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);