diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2019-03-01 21:21:38 +0000 |
---|---|---|
committer | Russell King <rmk+kernel@armlinux.org.uk> | 2019-06-13 21:54:56 +0100 |
commit | 900b2b7250b8fe49270e9272a1d937fa69350538 (patch) | |
tree | ef77488677f3d19b9dddc77330b7b23c0d370339 /scripts/gdb/linux/modules.py | |
parent | 26f7bf1251c70bafe99f73edd222f6126b395b3b (diff) |
drm/i2c: tda998x: clean up tda998x_configure_audio()
tda998x_configure_audio() is called via some paths where an error
return is meaningless, and as a result of moving the audio routing
code, this function no longer returns any errors, so let's make it
void. We can also make tda998x_write_aif() return void as well.
tda998x_configure_audio() also only ever needs to write the current
audio settings, so simplify the code in tda998x_audio_hw_params()
so that can happen.
Tested-by: Sven Van Asbroeck <TheSven73@gmail.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions