Clean dual local_irq_disable(); in kernel/panic.c thanks @Alucard24 for alert.
Config Update.
msm_rq_stats: Removed useless lock_hotplug_disabled
CONFIG_REGULATOR_PROXY_CONSUMER: better definition.
Some corrections.
usb: gadget: f_audio_source: Fixed USB Audio Class Interface Descriptor

Fixed Android Issue #56549.

When both Vendor Class and Audio Class are activated for AOA 2.0,
the baInterfaceNr of the AudioControl Interface Descriptor points
to wrong interface numbers. They should be pointing to
Audio Control Device and Audio Streaming interfaces.

Replaced baInterfaceNr with the correct value.

Change-Id: Ib20f20c1d65887bac051b7ff9453dc53fc23a8d0
Signed-off-by: Anson Jacob <ansonkuzhumbil@gmail.com>
usb: msm_otg: allow peripheral mode switch in more host states

The current code allows peripheral mode switch in only A_HOST state
using user mode otg control debug interface. The target can also be
in A_WAIT_BCON and A_SUSPEND while operating as a host. Allow peripheral
mode switch in these states as well. Also check the PMIC id status
when the otg control is set to PMIC.

Change-Id: I6557b38ce5615e5c7ac3e670086bbfa98507bda7
Signed-off-by: ChandanaKishori Chiluveru <cchilu@codeaurora.org>
PM suspend: adapt changes to EARLYSUSPEND functionality
F-AUDIO SOURCE: fixed function struct name to mach my source.
MSM RQ STATS: Disable the PM function it's useless, start as disabled!

On boot we have MSM HOTPLUG started as default hotplug + mpdecision
for ROM stuff, so prevent mpdecision from messing with cores on boot.

If user want to use mpdecision in profiles, then RQ STATS will be ON.
Update audio_policy.conf added deep_buffer and USB audio support!

Updated sample rates.

Merges from CAF and CM + STOCK LG.
Kernel 7.8
ARM: 8036/1: Enable IRQs before attempting to read user space in __und_usr

The Undef abort handler in the kernel reads the undefined instruction
from user space. If the page table was modified from another CPU, the
user access could fail and do_page_fault() will be executed with
interrupts disabled. This can potentially deadlock on ARM11MPCore or on
Cortex-A15 with erratum 798181 workaround enabled (both implying IPI for
TLB maintenance with page table lock held).

This patch enables the IRQs in __und_usr before attempting to read the
instruction from user space.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Tested-by: Arun KS <getarunks@gmail.com>
Cc: Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ryan Mallon <rmallon@gmail.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
ARM: 7553/1: proc-v7: Ensure correct instruction set after cpu_reset

Because mov pc,<Rn> never switches instruction set when executed in
Thumb code, Thumb-2 kernels will silently execute the target code
after cpu_reset as Thumb code, even if the passed code pointer
denotes ARM (bit 0 clear).

This patch uses bx instead, ensuring the correct instruction set
for the target code.

Thumb code in the kernel is not supported prior to ARMv7, so other
CPUs are not affected.

Signed-off-by: Dave Martin <dave.martin@linaro.org>
Acked-by: Will Deacon <will.deacon@arm.com>
Acked-by: Nicolas Pitre <nico@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
sound: msm8974: Set gpio_level_insert to 0

This is a simplified form of a prop in our devicetree.

Signed-off-by: Sultanxda <sultanxda@gmail.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Revert "msm: vidc: Increase max buffers to VB2_MAX_FRAME (i.e. 64)"

This reverts commit ad73461ee12c435e911e044db239d70d98c0b616.
Revert "v4l2: vb2: replace VIDEO_MAX_FRAME with VB2_MAX_FRAME"

This reverts commit 94f71871293c341e1faa6b661b37fbd8589fa725.
Update Thermal config.
Revert "Update audio_policy.conf added deep_buffer and USB audio support!"

This reverts commit 269da318554effe958e6bc4a9681bc0436f04624.

Broke the sound and all games stuck!
Revert "Kernel 7.8"

This reverts commit c5769572a38423b1f12d61d1851f8531ee20002f.