media: rc: nuvoton: Keep track of users on CIR enable/disable
authorMichał Winiarski <michal.winiarski@intel.com>
Mon, 21 May 2018 14:38:02 +0000 (10:38 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Mon, 28 May 2018 21:37:42 +0000 (17:37 -0400)
commitadbe6cfe5966dbc08d591d0e3771a270ef6e459d
treecbc95f04d9bb3ec63e289ad9c422a1f5cba47305
parent70c30b1ea706affcb117e3cd3065690abca5ba69
media: rc: nuvoton: Keep track of users on CIR enable/disable

Core rc keeps track of the users - let's use it to tweak the code and
use the common code path on suspend/resume.

Signed-off-by: Michał Winiarski <michal.winiarski@intel.com>
Cc: Jarod Wilson <jarod@redhat.com>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/rc/nuvoton-cir.c