media: sunxi-cir: Implement suspend/resume/shutdown callbacks
authorSamuel Holland <samuel@sholland.org>
Mon, 18 Jan 2021 06:00:48 +0000 (07:00 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 27 Jan 2021 07:27:59 +0000 (08:27 +0100)
commita6f42f5ebb7fa41bb17fd1814554929bf683007f
treeacc8d051fe214f575e1bdb5ee3c6d8e90c5794cc
parent8f9061fa773c726b4311d65954284b6dfce44485
media: sunxi-cir: Implement suspend/resume/shutdown callbacks

To save power, gate/reset the hardware block while the system is
asleep or powered off.

Acked-by: Maxime Ripard <mripard@kernel.org>
Signed-off-by: Samuel Holland <samuel@sholland.org>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/rc/sunxi-cir.c