msm: tspp: Request IRQs on first use

Reserving the IRQs on driver initialization is redundant and should
be done only when client first uses the driver. Also, it may prevent
transition to power saving modes.
Move IRQ requests to be done when first stream is opened, and free
when last stream is closed.

Signed-off-by: Gilad Broner <gbroner@codeaurora.org>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
tspp: fix bam irq request preventing sleep

Registering and resetting BAM device upon initialization of tspp
driver requests bam irq resource, which prevents entering sleep.
Instead, BAM device is now initialized only when first needed which
is when the first channel is opened. BAM device is uninitialized
when channel is closed.

Signed-off-by: Gilad Broner <gbroner@codeaurora.org>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
msm: tspp: use an actual device structure for DMA allocation

Not supplying the device struct for arch arm64 causes some DMA
functions to issue runtime warning and fail.

Signed-off-by: Gilad Broner <gbroner@codeaurora.org>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
platform: msm: Fix compile when CONFIG_PFT is not set

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Config Update.
base: genlock: Add new functions to get the fd

Add new API to get the file descriptor reference to a lock suitable for
sharing with other processes.

Change-Id: I1b61f44b6d5745a628eb98dfdc876767c46552ea
Signed-off-by: Alex Wong <waiw@codeaurora.org>
genlock: Taking a reference for lock file.
	 This is required as now we have two file descriptor
	 pointing to same file. If one FD is closed, lock file
	 will be closed. Taking this reference will make sure
	 that file doesn't get close. This refrence will go
	 when client will call close on this FD.
unwind: pr_debug to pr_warning......
bluetooth drivers: update
Bluetooth: hci_ath: Vote off Uart clock when BT is in Sleep

When there is no communication between the BTHOST and BTSOC,
UART clock should be vote off, otherwise Uart module will
not unlock wake lock which doesn't allow system to go sleep.

CRs-fixed: 413053
Change-Id: I8067132d5c376551bf104e69ac916addbbda3d1d
Signed-off-by: Ram Mohan Korukonda <rkorukon@codeaurora.org>
blueesleep: increased TX_TIMER_INTERVAL to 10
page_cgroup: removed unknown commit.
Restored early_suspend for some drivers that we don't use
Revert "blueesleep: increased TX_TIMER_INTERVAL to 10"

This reverts commit ebda374bbc2b2bc9454ac72554573f9a1cf93b52.
Added Synapse APP to boot install. Thanks to @dorimanx, @AndreiLux
MULTI_CPU_POLICY_LIMIT: fixed a bug inside store_pcpu_scaling_governor, show_pcpu_scaling_governor, store_pcpu_scaling_freq, show_pcpu_scaling_freq functions.
CPUFREQ: Clean some white space. there are a lot of 80+ characters

Need to find time to clean them all.
alucard_hotplug: use cpufreq for getting current frequency on a cpu.
Revert "msm cpufreq: adjusted msm: cpufreq: Move the enabling of the CPU/L2 clocks to CPU_STARTING commit to my code."

This reverts commit 369f827b105b1ddbd084e4030dd5074f4b669a87.
Config update