hal: cirrus_playback: trigger tuning file loading on init
This patch enables loading the per-design tuning file located in the
vendor firmware directory. It also cleans up the file by renaming the
mutex and reduces period size for rx.
Bug: 71645808
Test done: boot and check on the tuning checksum loaded:
$ adb shell tinymix "Cirrus SP EXT Config" 0
$ adb shell tinymix "Cirrus SP EXT Config" 1
[Play an audio content]
$ adb shell /data/cirrus_sp_status
...
Checksum Tuning TX=-373044106 RX=-1089243130
Verify the checksum matches the expected values.
Change-Id: Ie1ef7abfe3f8fc9cdab86dfb2d10a65821845e5b
Signed-off-by:
David Lin <dtwlin@google.com>
Loading
Please register or sign in to comment