Commit Graph

4 Commits

Author SHA1 Message Date
Pig
dcb0dc57db
davinci: tfa98xx: Fix device list initializations
Update missing device list initializations.

Co-authored-by: SayanAcharya <rowdysayan99@gmail.com>
Change-Id: Iaa44429e7a2514f882828089355fca1634b79200
2020-12-30 02:02:56 +01:00
Pig
114449558d
davinci: tfa98xx: Refactor amplifier
Change-Id: I8236bb8d2ab28f8e60201d2d0dce34b0ac501305
2020-12-30 02:02:56 +01:00
Arian
d55ed606b2
davinci: tfa98xx: Cleanup audio_amplifier
* Drop unnecessary shared libraries and c includes
* Replace libhardware c include with libhardware_headers
* Drop unused includes and commented code
* Refactor is_speaker to a bool
* Alphabetize share libraries and speaker devices
* Replace hard-coded sm6150 with $(TARGET_BOARD_PLATFORM)
* Drop unnecessary optional tag

Change-Id: I067e0dae75021cd677892d3b83fbe922fef245f5
2020-11-28 18:12:03 +01:00
PIPIPIG233666
fdf5278aba
davinci: Add audio amplifier for TFA amp feedback
* Fixes broken stereo channel seperation.

* Logic and original code by Smosia, slightly rewritten and moved to audio amplifier HAL by Pig.

Co-authored-by: Smosia <stasenko_nv@nrcki.ru>
Signed-off-by: Arian <arian.kulmer@web.de>
Change-Id: I369555a9fcb06065177636b436d2e006c7a0b07d
2020-11-28 18:12:03 +01:00