media: rc: Introduce sunxi_ir_quirks
authorClément Péron <peron.clem@gmail.com>
Fri, 7 Jun 2019 23:10:49 +0000 (20:10 -0300)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Sun, 4 Aug 2019 09:35:06 +0000 (06:35 -0300)
commit6b197cb5b4dc7be463599daeb28dfb8d24674746
treefb5350e4fdc39e846f4ae880e2e3afee7815681e
parent47fabc9cbc05bd5ebc70e1953d118d2a424df841
media: rc: Introduce sunxi_ir_quirks

This driver is used in various Allwinner SoC with different configuration.

Introduce a quirks struct to know the fifo size and if a reset is required.

Signed-off-by: Clément Péron <peron.clem@gmail.com>
Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/rc/sunxi-cir.c