hal: spk_prot: add custom support to trigger initial cal
For initial calibration thread can be invoked as part
of set param call instead of setting up at bootup.
Providing setprop option to choose whether bootup static way
or custom way to trigger calibration.
Two setparams are provided now :
1. "trigger_spkr_cal" - to start initial calibration process dynamically.
2. "apply_spkr_cal" - for every reboot, to apply initial cal from CALIB FILE.
Change-Id: I6e529d9b73f11ddfc165af4b2d30a24e927096ea
1 file changed