aboutsummaryrefslogtreecommitdiff
path: root/techpack
Commit message (Collapse)AuthorAgeFilesLines
* Revert "drivers: use raw bitwise operations for pm_qos cpumasks"Yaroslav Furman2020-09-091-1/+1
| | | | | | This reverts commit 2638c9312fbad7830a287fe467fe0743df5f14f0. Signed-off-by: Yaroslav Furman <yaro330@gmail.com>
* techpack: silence some more errorsYaroslav Furman2020-08-124-9/+0
| | | | Signed-off-by: Yaroslav Furman <yaro330@gmail.com>
* techpack: wcd-mbhc-v2: make sure headset button wakes the system upYaroslav Furman2020-08-122-1/+10
| | | | | | | | | | | - Add IRQF_NO_SUSPEND to button IRQs (press/release). - Add wakeups to button press/release functions. These changes ensure that system is woken up when you pause playback, wait for a bit, try to resume playback using headset's button. Signed-off-by: Yaroslav Furman <yaro330@gmail.com>
* techpack: compile out some unneded codecsYaroslav Furman2020-08-123-10/+10
| | | | | | and fix compilation while we're at it. Signed-off-by: Yaroslav Furman <yaro330@gmail.com>
* techpack: shut the fuck upYaroslav Furman2020-07-253-6/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Shut the fuck up You're a fucking cunt Shut the fuck up You're a stupid cunt, suck my dick Shut the fuck up Stop being a fucking cunt Shut the fuck up Nobody even wants you here What? I just want to let you know, you're a stupid fucking cunt Go ahead and run your mouth, pussy, I don't give a fuck You're a stupid piece of shit, you're a stupid fucking bitch Get the fuck up off my dick, get the fuck up off my dick, like Please end your fucking life, please end your fucking life I really gotta emphasise, no one cares if you're alive You're a fucking penis-hole, grab a dick and eat it whole I need to know if you were dropped when you were just a fetus though You're so fucking ugly and your face is fucking foul, jeez You're so fucking loud, can you shut your fucking mouth, can you Shut the fuck up You're a fucking cunt Shut the fuck up You're a stupid cunt, suck my dick Shut the fuck up Stop being a fucking cunt Shut the fuck up Nobody even wants you here Yeah Close your fucking mouth, you're just really fucking dense If you hate me, why you talking? You don't make no fucking sense Got a sad life, sad life, go to fucking hell Are you stupid or disabled, man, I can't fucking tell Meh You're a fucking dumb shit, you don't even run shit Get the fuck up out of my face and go to hell and eat a dick Come and catch these hands, boy Come and match these bands, boy I'm not crazy, I just do it all because I can, boy I hope you fucking die in a high-speed car crash I hope you fucking fall head-first and get your neck cracked I hope you have some beautiful children that die from cancer I hope you catch Zika when your wife gets pregnant I hope you win the lottery and die the next day And your daughter has to see you getting lowered in your grave Like, uh, ooh- that was a little dark I'm sorry. Tha-that was a little dark. Very poor taste Shut the fuck up I shouldn't have said that You're a fucking cunt Actually, no, I should have Shut the fuck up Actually, I didn't say enough You're a stupid cunt, suck my dick Shut the fuck up Stop being a fucking cunt Shut the fuck up Nobody even wants you here Signed-off-by: Yaroslav Furman <yaro330@gmail.com>
* techpack: silence some more debuggingYaroslav Furman2020-07-253-7/+3
| | | | Signed-off-by: Yaroslav Furman <yaro330@gmail.com>
* techpack: q6asm: stfuYaroslav Furman2020-07-251-2/+0
| | | | Signed-off-by: Yaroslav Furman <yaro330@gmail.com>
* techpack: Fix uninitialized header usageSultan Alsawaf2020-07-251-0/+1
| | | | | | | | | | | | | | | | | When the cmi header is filled, it isn't zeroed out; it's updated, so the previous value it contains is retained as part of a bitmask. This constitutes uninitialized usage of the cmi header struct. Fix it by zeroing out the header with a memset, as is done elsewhere in this driver. This fixes the following warnings: sound/soc/codecs/wcd_cpe_core.c: In function 'wcd_cpe_lab_ch_setup': include/sound/cpe_cmi.h:173:18: error: 'lab_eob.hdr_info' may be used uninitialized in this function [-Werror=maybe-uninitialized] Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com> [yaro: cpe_lab_enable fix is in place in 4.14 techpack] Signed-off-by: Yaroslav Furman <yaro330@gmail.com>
* techpack: compile out elliptic garbageYaroslav Furman2020-07-254-0/+10
| | | | | | We don't need it. Signed-off-by: Yaroslav Furman <yaro330@gmail.com>
* techpack: checkout to ↵Yaroslav Furman2020-07-25229-17755/+32419
| | | | | | | | https://github.com/UtsavBalar1231/kernel_xiaomi_raphael/commit/bb56551c339e6baae139f0c707aa6eaacbdc5577 I am too lazy to re-merge/re-pick/re-apply all this garbage. Signed-off-by: Yaroslav Furman <yaro330@gmail.com>
* techpack: compile out elliptic garbageYaroslav Furman2020-05-154-0/+10
| | | | | | We don't need it. Signed-off-by: Yaroslav Furman <yaro330@gmail.com>
* techpack: Fix uninitialized header usageSultan Alsawaf2020-05-081-0/+1
| | | | | | | | | | | | | | | | | When the cmi header is filled, it isn't zeroed out; it's updated, so the previous value it contains is retained as part of a bitmask. This constitutes uninitialized usage of the cmi header struct. Fix it by zeroing out the header with a memset, as is done elsewhere in this driver. This fixes the following warnings: sound/soc/codecs/wcd_cpe_core.c: In function 'wcd_cpe_lab_ch_setup': include/sound/cpe_cmi.h:173:18: error: 'lab_eob.hdr_info' may be used uninitialized in this function [-Werror=maybe-uninitialized] Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com> [yaro: cpe_lab_enable fix is in place in 4.14 techpack] Signed-off-by: Yaroslav Furman <yaro330@gmail.com>
* drivers: use raw bitwise operations for pm_qos cpumasksYaroslav Furman2020-05-031-1/+1
| | | | Signed-off-by: Yaroslav Furman <yaro330@gmail.com>
* drivers: remove a few loggersYaroslav Furman2020-05-021-2/+2
| | | | Signed-off-by: Yaroslav Furman <yaro330@gmail.com>
* teckpack: codecs: Use scnprintf() for robustnessYaroslav Furman2020-04-112-2/+2
| | | | | | | | | | | | | | | Reasoning explained here https://github.com/torvalds/linux/commit/06236821aeac480a0835dd8dd9fb20e3b5a5d80d Also fixes this warning: ../techpack/audio/asoc/codecs/wcd-clsh.c:73:9: warning: ‘snprintf’ argument 4 overlaps destination object ‘buf’ [-Wrestrict] 73 | cnt = snprintf(buf, buflen - cnt - 1, "%s%s%s", buf, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 74 | buf[0] == '\0' ? "[" : "|", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 75 | states[i]); | Signed-off-by: Yaroslav Furman <yaro330@gmail.com>
* Drop subtree size optimizationsAdam W. Willis2020-03-231-1/+0
| | | | | | | | | | Image size be damned. The rationale here was to offset the size increase associated with LTO, but it's 2020, and people are managing to download my inherently large (dual image) zips without incident. Thus, in no scenario is reduced image size worth the potential for increased latency. Signed-off-by: Adam W. Willis <return.of.octobot@gmail.com>
* techpack: q6asm: stfuYaroslav Furman2020-03-111-2/+0
| | | | Signed-off-by: Yaroslav Furman <yaro330@gmail.com>
* techpack: shut the fuck upYaroslav Furman2020-03-095-8/+4
| | | | Signed-off-by: Yaroslav Furman <yaro330@gmail.com>
* techpack: silence some more debuggingYaroslav Furman2020-03-033-7/+3
| | | | Signed-off-by: Yaroslav Furman <yaro330@gmail.com>
* techpack: optimize for sizeYaroslav Furman2020-02-061-0/+1
| | | | | | Saves us about 80kb. Signed-off-by: Yaroslav Furman <yaro330@gmail.com>
* techpack: shut the fuck upYaroslav Furman2020-01-204-9/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Shut the fuck up You're a fucking cunt Shut the fuck up You're a stupid cunt, suck my dick Shut the fuck up Stop being a fucking cunt Shut the fuck up Nobody even wants you here What? I just want to let you know, you're a stupid fucking cunt Go ahead and run your mouth, pussy, I don't give a fuck You're a stupid piece of shit, you're a stupid fucking bitch Get the fuck up off my dick, get the fuck up off my dick, like Please end your fucking life, please end your fucking life I really gotta emphasise, no one cares if you're alive You're a fucking penis-hole, grab a dick and eat it whole I need to know if you were dropped when you were just a fetus though You're so fucking ugly and your face is fucking foul, jeez You're so fucking loud, can you shut your fucking mouth, can you Shut the fuck up You're a fucking cunt Shut the fuck up You're a stupid cunt, suck my dick Shut the fuck up Stop being a fucking cunt Shut the fuck up Nobody even wants you here Yeah Close your fucking mouth, you're just really fucking dense If you hate me, why you talking? You don't make no fucking sense Got a sad life, sad life, go to fucking hell Are you stupid or disabled, man, I can't fucking tell Meh You're a fucking dumb shit, you don't even run shit Get the fuck up out of my face and go to hell and eat a dick Come and catch these hands, boy Come and match these bands, boy I'm not crazy, I just do it all because I can, boy I hope you fucking die in a high-speed car crash I hope you fucking fall head-first and get your neck cracked I hope you have some beautiful children that die from cancer I hope you catch Zika when your wife gets pregnant I hope you win the lottery and die the next day And your daughter has to see you getting lowered in your grave Like, uh, ooh- that was a little dark I'm sorry. Tha-that was a little dark. Very poor taste Shut the fuck up I shouldn't have said that You're a fucking cunt Actually, no, I should have Shut the fuck up Actually, I didn't say enough You're a stupid cunt, suck my dick Shut the fuck up Stop being a fucking cunt Shut the fuck up Nobody even wants you here Signed-off-by: Yaroslav Furman <yaro330@gmail.com>
* techpack: fix gcc warningsYaroslav Furman2020-01-085-6/+7
| | | | Signed-off-by: Yaroslav Furman <yaro330@gmail.com>
* sound: wcd_cpe_core: fix unitialised variableAlin Jerpelea2020-01-081-1/+1
| | | | | Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> Signed-off-by: Yaroslav Furman <yaro330@gmail.com>
* techpack/audio: Kill debugging printsAlbert I2019-12-0716-16/+0
| | | | | | | | These insane amount of debug flags added by Xiaomi in production kernel is just horrible. Signed-off-by: Albert I <kras@raphielgang.org> Signed-off-by: UtsavisGreat <utsavbalar1231@gmail.com>
* techpack: fix the rest of debug_fs related errorsYaroslav Furman2019-12-069-16/+18
| | | | Signed-off-by: Yaroslav Furman <yaro330@gmail.com>
* techpack: fix compilation with debugfs disabledYaroslav Furman2019-12-066-4/+21
| | | | Signed-off-by: Yaroslav Furman <yaro330@gmail.com>
* techpack: build rmnet extensionsPark Ju Hyung2019-12-048-5/+21
| | | | Signed-off-by: Park Ju Hyung <qkrwngud825@gmail.com>
* Import 'techpack/data/'dragonGR2019-12-0461-0/+75755
|
* Import 'techpack/audio/'dragonGR2019-12-04824-0/+704580
|
* techpack: Remove .gitignoreLuca Stefani2019-12-041-2/+0
|
* techpack: hardcode modules listLuca Stefani2019-12-041-5/+2
|
* techpack: add tech package supportBryan Huntsman2019-12-045-0/+13
Enable tech packages to have kernel drivers that are physically located in the kernel source tree but not present in the kernel repository. This is done via a manifest line item to fetch a techpackage-module into $KERNEL/techpack/$techpackage-module. $KERNEL/techpack/Kbuild will automatically detect any subdirectories and link them to the kernel's kbuild system. The resulting layout of techpack within kernel source would be as follows :- kernel/ ├── techpack/ ├── Kbuild └── stub │ ├── Makefile │ ├── include │ │   └── uapi │ │   └── Kbuild └── stub.c ├── techpackage-module    ├── Makefile    ├── include    │   └── uapi    │   ├── Kbuild $KERNEL/techpack only contains Kbuild (no Makefile) at the toplevel and this Kbuild takes care of both compiling the subdirectories and of exporting the needed header files therein. The reason for having only Kbuild at the top is that Kbuild and Makefile cannot exist together in same directory and Makefile doesn't cater to uapi header installation. stub is an empty techpackage-module which serves both as a sample layout and satisfies the requirement of kernel build system, by providing necessary buit-in.o, when no other techpackage-module has been pulled under techpack/. $KERNEL/techpack/techpackage-module should have a Makefile at the top and Kbuild under $KERNEL/techpack/techpackage-module/include/uapi directory. The uapi headers pertaining to a techpackage-module should reside under $KERNEL/techpack/techpackage-module/include/uapi and associated Kbuild should have necessary rules to export it. Change-Id: I0d0ced38566907d2074831edde0934833f666eff Signed-off-by: Bryan Huntsman <bryanh@codeaurora.org> Signed-off-by: Imran Khan <kimran@codeaurora.org>