From: Sean Young Date: Sat, 27 Nov 2021 17:55:51 +0000 (+0100) Subject: media: winbond-cir: no need for reset after resume X-Git-Tag: block-5.17-2022-01-21~35^2~64 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=26748c0d86c2d06b6e3f595bfd843ff2f246ce97;p=linux-block.git 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 Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/rc/winbond-cir.c b/drivers/media/rc/winbond-cir.c index aed23ca0fa6c..94efb035d21b 100644 --- a/drivers/media/rc/winbond-cir.c +++ b/drivers/media/rc/winbond-cir.c @@ -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);