drm/i2c: tda998x: allow interrupt to be shared
authorRussell King <rmk+kernel@armlinux.org.uk>
Thu, 3 Nov 2016 08:58:04 +0000 (08:58 +0000)
committerRussell King <rmk+kernel@armlinux.org.uk>
Fri, 18 Nov 2016 00:00:40 +0000 (00:00 +0000)
commitae81553c30ef86305048fcac379b8b16b71d3099
tree8e685221bacaa08a2d56bf371e9aced6edc97d0a
parent9476ed2e3883b11da1c8065e6d5a1785cae35588
drm/i2c: tda998x: allow interrupt to be shared

Some TDA998x contain several different I2C devices - there is the HDMI
encoder, and there is a TDA9950 CEC engine.  These two share the same
interrupt signal.

In order to allow a driver for the CEC engine to work, we need to be
able to share the interrupt with the CEC driver, so convert the handler
and registration to allow this to happen.

Tested-by: Brian Starkey <brian.starkey@arm.com>
Reviewed-by: Brian Starkey <brian.starkey@arm.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
drivers/gpu/drm/i2c/tda998x_drv.c