GitHub/LineageOS/android_device_samsung_a5xelte.git
5 years agoa5xelte: Pack tfa struct
Christopher N. Hesse [Wed, 18 Jul 2018 08:21:57 +0000 (10:21 +0200)]
a5xelte: Pack tfa struct

Discard any possible padding since all we want to do is have a linear
data container.

Change-Id: Ieb308874f83990c77adc26cfedf4d72ab78023ac

5 years agoa5xelte: amplifier: Fix deadlock
Christopher N. Hesse [Sat, 24 Mar 2018 09:18:36 +0000 (10:18 +0100)]
a5xelte: amplifier: Fix deadlock

If pcm_open() fails with -EBUSY, t->cond is never signaled and
tfa_clock_on() stalls the driver in its while (!tfa_dev->writing) loop
where it waits for the signal to be delivered.

Avoid this by always signaling the calling thread.

Change-Id: I4fd81080e77d5f37963714a5d6b4556c387f5a33
(cherry picked from commit 07b6fbed54c84e8e83f4e3f6ceb89fef81038536)

5 years agoa5xelte: Simplify clock control
Christopher N. Hesse [Sun, 4 Mar 2018 00:00:34 +0000 (01:00 +0100)]
a5xelte: Simplify clock control

The clocks can never be on at this stage, because we explicitly enable
them before starting the amplifier and disable them when we stop it.

Change-Id: Ic28bd30ceb286ba3ffa862aa528959a842e599dc
(cherry picked from commit 21ebcea84f1dfd371685a39d94088b86eed9e083)

5 years agoa5xelte: amplifier: Handle TFA modes
Christopher N. Hesse [Sun, 28 Jan 2018 15:42:03 +0000 (16:42 +0100)]
a5xelte: amplifier: Handle TFA modes

Change-Id: I1220dc21a115a0ec734efb2364446bc71635356f

5 years agoa5xelte: audio: Initial TFA98xx amplifier device implementation
Christopher N. Hesse [Tue, 21 Nov 2017 19:57:41 +0000 (20:57 +0100)]
a5xelte: audio: Initial TFA98xx amplifier device implementation

Change-Id: Icb9d1a3603cd1c6ee6cc9edb22d6018b5c36c237

5 years agoa5xelte: Add audio configuration
Danny Wood [Thu, 25 Apr 2019 15:36:12 +0000 (16:36 +0100)]
a5xelte: Add audio configuration

Change-Id: Ic59fb103bfadc61bb7d26a7d4e7b3e1d9522ff40

5 years agoa5xelte: Add RIL configuration
Danny Wood [Thu, 25 Apr 2019 15:36:09 +0000 (16:36 +0100)]
a5xelte: Add RIL configuration

Change-Id: If39366fd746fb55efeeef906b3bdc64af17ecc9b

5 years agoa5xelte: Add boot animation configuration
Danny Wood [Thu, 25 Apr 2019 15:36:04 +0000 (16:36 +0100)]
a5xelte: Add boot animation configuration

Change-Id: I9e081ccac916482b49f1a35bee5cdeb17aec865c

5 years agoa5xelte: Add GPS config files
Danny Wood [Thu, 25 Apr 2019 15:36:01 +0000 (16:36 +0100)]
a5xelte: Add GPS config files

Change-Id: Ic6fe71e6c9b145877ff85cb0edb191fb46ce389a

5 years agoa5xelte: Set kernel defconfig
Danny Wood [Thu, 25 Apr 2019 15:35:52 +0000 (16:35 +0100)]
a5xelte: Set kernel defconfig

Change-Id: I9417226a048a35cc62cc010cb5a75cde9740ab74

5 years agoa5xelte: Add partition sizes
Danny Wood [Thu, 25 Apr 2019 14:52:29 +0000 (15:52 +0100)]
a5xelte: Add partition sizes

Change-Id: Ia17f45a11511c0559bfc110c3f250c8f33279966

5 years agoa5xelte: add vendor init
Danny Wood [Thu, 25 Apr 2019 14:53:41 +0000 (15:53 +0100)]
a5xelte: add vendor init

Change-Id: Ie0730525b841321884a3ba6de5ee90a6424da40e

5 years agoa5xelte: Add bluetooth configuration
Danny Wood [Thu, 25 Apr 2019 13:30:06 +0000 (14:30 +0100)]
a5xelte: Add bluetooth configuration

Change-Id: I2b437630ae9444979fdcb2e35c060f9394a67657

5 years agoa5xelte: add proprietary-files.txt
Danny Wood [Thu, 25 Apr 2019 13:26:47 +0000 (14:26 +0100)]
a5xelte: add proprietary-files.txt

Change-Id: I1b324c166c499ac8a1dbe78425b58fd9208f1b64

5 years agoa5xelte: Import common extract-utils
Danny Wood [Thu, 25 Apr 2019 13:10:25 +0000 (14:10 +0100)]
a5xelte: Import common extract-utils

Change-Id: I5fc9ff63c1d49b91d4f9a00c57d8bbfa7ae9c2aa

5 years agoa5xelte: Add lineage.dependencies
Danny Wood [Thu, 25 Apr 2019 13:11:44 +0000 (14:11 +0100)]
a5xelte: Add lineage.dependencies

Change-Id: I3f2f7b0060fa0c6c43a7684c67e3c79ff0c96215

5 years agoa5xelte: Initial device tree
Danny Wood [Thu, 25 Apr 2019 13:08:21 +0000 (14:08 +0100)]
a5xelte: Initial device tree

Change-Id: I27ba9d9b27be581499171d86bb726c8b06331537