drm/i2c: tda998x: Improve tda998x_configure_audio() audio related pdata
authorJyri Sarha <jsarha@ti.com>
Tue, 9 Aug 2016 19:00:04 +0000 (22:00 +0300)
committerRussell King <rmk+kernel@armlinux.org.uk>
Wed, 7 Sep 2016 12:10:10 +0000 (13:10 +0100)
commit95db3b255fde4e830e5f8cc011eb404023f669d4
tree8f391121de132eeb37c4a114481886404e9c578a
parent3ef500a53f8c44ca82decf79dd8138fd07c7739d
drm/i2c: tda998x: Improve tda998x_configure_audio() audio related pdata

Define struct tda998x_audio_params in include/drm/i2c/tda998x.h and
use it in pdata and for tda998x_configure_audio() parameters. Also
updates tda998x_write_aif() to take struct hdmi_audio_infoframe *
directly as a parameter.

Signed-off-by: Jyri Sarha <jsarha@ti.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
drivers/gpu/drm/i2c/tda998x_drv.c
include/drm/i2c/tda998x.h