]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i2c: tda998x: introduce tda998x_audio_settings
authorRussell King <rmk+kernel@armlinux.org.uk>
Fri, 1 Mar 2019 14:14:14 +0000 (14:14 +0000)
committerRussell King <rmk+kernel@armlinux.org.uk>
Thu, 13 Jun 2019 20:54:27 +0000 (21:54 +0100)
commit2e9943aab5680ec7bce07f4b980e5e2a86ff294a
tree22027d4dc66ab84c903cfa01c9f1b8376a074835
parente93c9c99a629c61837d5a7fc2120cd2b6c70dbdd
drm/i2c: tda998x: introduce tda998x_audio_settings

Introduce a structure to hold the register values to be programmed while
programming the TDA998x audio settings.  This is currently a stub
structure, which will be populated in subsequent commits.

When we initialise this from the platform data, only do so if there is a
valid audio format specification.

Tested-by: Sven Van Asbroeck <TheSven73@gmail.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
drivers/gpu/drm/i2c/tda998x_drv.c