Seeing as we shut this down intentionally, I don't see why we need
to be alerted it's failure, repeatedly, and from multiple drivers.
Signed-off-by: Adam W. Willis <return.of.octobot@gmail.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
../techpack/audio/asoc/codecs/wcd_cpe_services.c:1349:8: error: implicit conversion from enumeration type 'enum cpe_svc_result' to different enumeration type 'enum cpe_process_result' [-Werror,-Wenum-conversion]
rc = cpe_send_msg_to_inbox(t_info, 0, m);
~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
Signed-off-by: Joel Gómez <nahuelgomez329@gmail.com>
Fixes warns on clang 15.0.0:
../techpack/data/drivers/rmnet/perf/rmnet_perf_opt.c:715:27: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
rmnet_perf_free_hash_table()
^
void
CC net/bluetooth/hci_conn.o
CC drivers/base/attribute_container.o
1 error generated.
../drivers/staging/qcacld-3.0/../qca-wifi-host-cmn/target_if/core/src/target_if_main.c:91:40: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
struct target_if_ctx *target_if_get_ctx()
^
void
1 error generated.
CC drivers/staging/qcacld-3.0/../qca-wifi-host-cmn/umac/dfs/core/src/misc/dfs_nol.o
make[4]: *** [../scripts/Makefile.build:364: drivers/staging/qcacld-3.0/../qca-wifi-host-cmn/target_if/core/src/target_if_main.o] Error 1
make[4]: *** Waiting for unfinished jobs....
../drivers/staging/qcacld-3.0/../qca-wifi-host-cmn/hif/src/ce/ce_service_legacy.c:1320:34: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
struct ce_ops *ce_services_legacy()
^
void
1 error generated.
Signed-off-by: Fiqri Ardyansyah <fiqri15072019@gmail.com>
Signed-off-by: Pranav Temkar <pranavtemkar@gmail.com>
The non-blocking if-statement here causes the AUDIO_GET_AMRWB_ENC_CONFIG
ioctl to always return -EFAULT, even upon success. Fix it by correctly
guarding the -EFAULT return value.
Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
This is expensive and unneeded, especially since the qos functions are
hot code paths. Mose of the cpumask functions use the bitmap API, which
is also more expensive than just doing some simple operations on a word.
Since we're operating with a CPU count that can fit within a word,
replace the expensive cpumask operations with plain bitwise operations
wherever possible to make the pm_qos framework more efficient.
Change-Id: Ida5f08d5c1e25aa790d814153f1c7fe7a5dd9850
Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
Signed-off-by: UtsavBalar1231 <utsavbalar1231@gmail.com>
* Use proper if guard so that compiler won't spam dumb warning
Change-Id: I6becfab82a6f15a2d6177af307b3fa3da4e7b4e3
Signed-off-by: UtsavBalar1231 <utsavbalar1231@gmail.com>
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>
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>
This causes parts of the audio module to be rebuilt during every
incremental build, even if there are no changes:
CC techpack/audio/ipc/apr.o - due to command line change
CC techpack/audio/ipc/apr_v2.o - due to command line change
CC techpack/audio/ipc/apr_tal_rpmsg.o - due to command line change
CC techpack/audio/ipc/wcd-dsp-glink.o - due to command line change
We're only experiencing this issue in techpack/audio/ipc at the moment,
but kill the timestamp injection in all the audio components to
eliminate the possibility of encountering this issue again in the
future. This is harmless since the injected BUILD_TIMESTAMP macro is
never used.
Change-Id: I35b588a2a902438b2c79ebbac31453f2e528bbbe
Signed-off-by: Danny Lin <danny@kdrag0n.dev>
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>
Fixes booting with techpack online and modules disabled.
Without this it spits out a nasty NULL pointer dereference.
Signed-off-by: Yaroslav Furman <yaro330@gmail.com>
Change-Id: Ib9c0cddd38a5f5707b1c259540f79329d84e92da
Signed-off-by: UtsavBalar1231 <utsavbalar1231@gmail.com>
This function is included in more than one sound codec and anyway
it is supposed to be a static inline function...
Signed-off-by: UtsavBalar1231 <utsavbalar1231@gmail.com>
Add a snapshot of tech package support from msm-4.19 to msm-4.14 from
commits as of:
'commit <50327f3450f1> (techpack: add tech package support)'
'commit <8082260ee599> (techpack: set configuration default to yes)'
'commit <776ec744ee23> (techpack: Kbuild: Fix to compile the techpack
completely)'.
Change markings to 4.14 style.
Change-Id: I446e7cf0f185181caa5e62cf42a2ff972f99be35
Signed-off-by: Xiaowen Wu <wxiaowen@codeaurora.org>