]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5620005ecf4e179686471f102044fe192a3cea06
tree8e685221bacaa08a2d56bf371e9aced6edc97d0a
parent17e2078e6e9f10330a502a352b6ec306f4652220
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