Russell King 7168916072 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>
2019-06-13 21:54:48 +01:00
..
2019-01-24 13:20:42 +01:00
2019-01-24 13:20:42 +01:00
2019-03-04 12:02:55 +10:00
2019-02-05 10:28:13 +01:00
2019-01-29 15:45:21 +01:00
2019-01-29 15:45:21 +01:00
2019-03-08 08:23:15 -08:00
2019-01-24 13:20:42 +01:00
2019-01-29 15:45:21 +01:00
2019-03-04 12:02:55 +10:00
2019-01-24 13:20:42 +01:00
2019-01-24 13:20:42 +01:00
2019-01-24 13:20:42 +01:00
2019-01-24 13:20:42 +01:00
2019-01-24 13:20:42 +01:00
2019-02-18 13:27:15 +10:00
2019-01-10 05:58:52 +10:00
2018-11-20 14:56:18 +01:00
2019-03-25 09:25:20 +10:00
2019-01-10 05:58:52 +10:00
2019-01-29 15:45:21 +01:00
2019-02-18 13:27:15 +10:00
2019-02-04 10:21:17 +01:00
2019-01-10 05:58:52 +10:00
2019-02-18 13:27:15 +10:00
2019-01-12 13:07:58 +01:00
2018-11-30 10:57:18 +01:00