[media] rc: ir-raw: change type of available_protocols to atomic64_t
commit37e90a220abc4c5dee1fc42382cbca595a0e95bd
authorHeiner Kallweit <hkallweit1@gmail.com>
Tue, 27 Sep 2016 19:48:47 +0000 (27 16:48 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Mon, 24 Oct 2016 20:16:06 +0000 (24 18:16 -0200)
tree65da02589cc8323f17290e74983cef08aba491d8
parent8a5d2acee6fa9ec5997335cc3ebdd47c7524d6d2
[media] rc: ir-raw: change type of available_protocols to atomic64_t

Changing available_protocols to atomic64_t allows to get rid of the
mutex protecting access to the variable. This helps to simplify
the code.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/rc/rc-ir-raw.c