| Commit message (Collapse) | Author | Age |
| ... | |
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* Useful in case we switch to non zui bluetooth blobs
Change-Id: I29b5a37c40e0289744708ebb03985e6427c368a6
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* The dump_smem function more like a debug function which was implemented
by the oem for debugging purposes but after the recent cleanup up
DD3Boh/android_kernel_zuk_msm8996@4c947e4ab0bee7f79b3ab65132cf93749fb249b4 we now have proper fail checks so there is no need to have this function.
* Kill it with fire and drop the expense cost of calling it, also cleanup whitespaces while we are at it.
Signed-off-by: dev-harsh1998 <dev-harsh1998@hotmail.com>
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* Cleanup unneded stuff
* Add proper fail checks
* Remove unneded spaces and junk
* Move to late_initcall
* Remove bt_mac code as it's being read correctly without this kernel part
Signed-off-by: Yaroslav Furman <yaro330@gmail.com>
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* Needed to recognize the correct hardware wlan mac address
* Slightly cleaned indentation
Change-Id: Ic4db07c33b7de9cf2a8ca010a5d3d87427cf9b61
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* Shorten audio-routing: pulled from Essential and removed all 5 mics from PH-1
* Disable tasha_codec, doesn't work on Z2 Pro
Signed-off-by: Yaroslav Furman <yaro330@gmail.com>
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* Just return error, what's the point even trying?
Signed-off-by: Yaroslav Furman <yaro330@gmail.com>
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* z2_row uses TFA9890 so it doesn't need wsa
Signed-off-by: Yaroslav Furman <yaro330@gmail.com>
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
| | | | |
| | | |
| | | |
| | | | |
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
On case ASM_STREAM_CMD_OPEN_WRITE_COMPRESSED, payload size error log
might be shown when it's actually correct due to (payload[1] != 0)
check failing. Fix this.
Also, add missing new line and change size error logs to debug type
if checks are done solely to print debug messages.
Commit 979f3d57b439 ("dsp: asm: validate payload size before access")
introduced these payload size check logs.
Signed-off-by: Park Ju Hyung <qkrwngud825@gmail.com>
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Yaroslav Furman <yaro330@gmail.com>
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Again, that's common practice in CAF source.
Signed-off-by: Yaroslav Furman <yaro330@gmail.com>
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Without init-sanitizer afe_port_start returns error.
Let's fix dat.
1. Remove port_config declaration from function, there
is literally no point in doing this since it's in dai_data
already.
2. Set port config to dai_data, this approach is used
in most cases where port config is set.
3. Pass rate as dai_data->rate, not constant value.
Signed-off-by: Yaroslav Furman <yaro330@gmail.com>
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* After Pie tag was released CAF added functions for checking fw version that are not supported by out DSP.
* Fixes:
[10186.137518] q6core_get_service_version: Failed to get service size for service id 7 with error -95
[10186.141517] q6core_get_service_version: Failed to get service size for service id 8 with error -95
[10186.151816] q6core_get_service_version: Failed to get service size for service id 7 with error -95
[10254.278514] q6core_get_service_version: Failed to get service size for service id 7 with error -95
[10254.282274] q6core_get_service_version: Failed to get service size for service id 8 with error -95
[10254.292154] q6core_get_service_version: Failed to get service size for service id 7 with error -95
[10294.549313] q6core_get_service_version: Failed to get service size for service id 7 with error -95
[10294.553506] q6core_get_service_version: Failed to get service size for service id 8 with error -95
[10294.563891] q6core_get_service_version: Failed to get service size for service id 7 with error -95
* This results in certain audio apps getting focked up after system suspends and then goes back online.
Signed-off-by: Yaroslav Furman <yaro330@gmail.com>
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* To bypass:
swr-wcd tasha_swr_ctrl: swrm_get_logical_dev_num: device is not ready
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* Only tfa9890.{c,h} are really needed
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
| | | | |
| | | |
| | | |
| | | | |
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* Without this patch if you disable QUAT_MI2S_ENABLE there will be the following warnings (turned in errors):
sound/soc/msm/msm8996.c:1660:12: warning: 'msm_be_quat_hw_params_fixup' defined but not used [-Wunused-function]
sound/soc/msm/msm8996.c:107:12: warning: 'msm_quat_mi2s_ch' defined but not used [-Wunused-variable]
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: dd3boh <dade.garberi@gmail.com>
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
| | | | |
| | | |
| | | |
| | | | |
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Yaroslav Furman <yaro330@gmail.com>
Change-Id: I52c1440db6b1f3b9136d60435cd6b0b6f71f9993
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* Bring the coding style closer to Linux's fixing most checkpatch.pl warnings on all the files of the directories
* I didn't fix every 80 chars line warning because that was way too much
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* Reworked from ZUK sources to make it looks a bit better
* Also adapted to 4.4 and moved to the new directory
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* CONFIG_PM_RUNTIME has been deleted in 4.4 so let's use CONFIG_PM
* regulator_set_optimum_mode doesn't exist anymore, use regulator_set_load as seen in msm-thermal
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* These files are completely unused and not build by any device
* Probably not even ZUK knows why these files were here
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
| | | | |
| | | |
| | | |
| | | | |
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* Thanks @AyushR1 for making me notice with https://github.com/AyushR1/AR_Beast-Zuk_Z2/commit/95b15f1930ccbf9705e047c1ab34a6ef5f9cca75
* Fixes 5b86e5045ac9d7f64719b3f41c9f3fdbd069703e
* Faiz I'm gonna kill you someday
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Change-Id: I783aaf058c42e85712f861369cc85db2d6adab61
Signed-off-by: Faiz Authar <faizauthar@gmail.com>
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
| | | | |
| | | |
| | | |
| | | | |
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* Useful for configpanel
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
Change-Id: I5e522fde0a69b4e21cfa1ec76907a083ffae1a65
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- needed for KeyDisabler
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
Change-Id: Ia6a3a12d4aede9d19cfc2dcc7b2831673ce73480
|
| | | | |
| | | |
| | | |
| | | | |
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* Don't use == 0 or == 1
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* We aren't using wakelocks in this driver anymore
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
* Import from Xiaomi msm8996 driver
* Remove the sysfs node and the dts entry as we don't need it
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* Implement a poor man's pocket mode:
Receive proximity state from userspace
Disable IRQ while proximity state is near
* Based on fluxi's original idea (https://review.lineageos.org/#/c/152043/),
but adapted to work along with ZUK's fingerprint wake up implementation.
* Adapted to Zuk Z2 Plus and Pro by DD3Boh
Change-Id: Ie9f92d5fba6f26beebcc208e9b9b6c989d9b90be
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: YaroST12 <yaro330@gmail.com>
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
Change-Id: Id1a275cb791269037f9cf54072533647bb7490d7
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* ZUK has set 100 HZ, and in case I will change HZ this might be useful
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
Change-Id: Iabca30b6d1331744625c4bd48605c74cf2e304b9
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* Just fix errors and warnings checked with checkpatch.pl
* Still some missing (about 6 but 2 are about Documentation)
Signed-off-by: dd3boh <dade.garberi@gmail.com>
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
Change-Id: I276f4eae709058e7136358e6bb85da1b418bfb9d
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
Change-Id: I3f43fec9906ea13060a96856335f15a5fca0c6d2
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* General improvements to code style
* Remove unused functions
* Remove redundant param for reset_home_button
* Reuse function calls as variables to improve performance
* Simplify boolean checks
* Document extern functions and relevant variables
Change-Id: I597c5d4f35b80b797d6ab51dc0030d48d665bad1
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
Change-Id: I26fd52c464e26dd8abb19b62eea9c83b0b9fb09c
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Change-Id: Icf2c09456d51a7b41de61f9f886ce102d49f8a85
Signed-off-by: Faiz Authar <faizauthar@gmail.com>
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Yaroslav Furman <yaro330@gmail.com>
Signed-off-by: Subhajeet Muhuri <kenny3fcb@gmail.com>
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Yaroslav Furman <yaro330@gmail.com>
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
Change-Id: I950bff72a36bf425253089d8cb42c749db42acf6
|
| | | | |
| | | |
| | | |
| | | | |
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* While Z2 Pro doesn't suffer from touchscreen going bad, it's still kinda pointless to have all that unused code and proc entries that it creates.
Signed-off-by: Yaroslav Furman <yaro330@gmail.com>
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Our touchscreen only worked fine with HZ 100, before this.
Code taken from: [1] and cleaned up.
[1]: https://github.com/goodix/gt1x_driver_generic/blob/master/gt1x_generic.c#L884
Signed-off-by: Yaroslav Furman <yaro330@gmail.com>
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
| | | | |
| | | |
| | | |
| | | | |
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
Change-Id: Icd57ecad17abea47cf1c939cde45ea8f4dc3e503
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* It is broken in some refurbished devices after k4.4 upgrade,
but touchscreen works fine so why even bother..
Change-Id: I167be7b1c282d5f3c90db0a131206b443da3a170
|