summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2019-03-01 19:52:23 +0000
committerRussell King <rmk+kernel@armlinux.org.uk>2019-06-13 21:54:48 +0100
commit7168916072b54934fd949e7ae24695080d4388ba (patch)
tree8b6595c403bd5cdf3b15860c3bf5ee653bdb3942 /include
parent82642ab7345d7e736c6f1dee58c033ea6b41d2e9 (diff)
drm/i2c: tda998x: index audio port enable config by route type
Rather than searching an array for the audio format (which we control) implement indexing by route type. This avoids iterating over the array in several locations. Tested-by: Sven Van Asbroeck <TheSven73@gmail.com> Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions