cpufreq: interactive: fix uninitialized spinlock

Add missing spinlock init

Backtrace:
[<c0011ce4>] (dump_backtrace+0x0/0x10c) from [<c0662a68>] (dump_stack+0x18/0x1c)
 r6:00000032 r5:c0bd09ec r4:e6848000 r3:00000000
[<c0662a50>] (dump_stack+0x0/0x1c) from [<c06670b0>] (spin_dump+0x80/0x94)
[<c0667030>] (spin_dump+0x0/0x94) from [<c06670f0>] (spin_bug+0x2c/0x30)
 r5:c08f91fc r4:c0bd09ec
[<c06670c4>] (spin_bug+0x0/0x30) from [<c0245f74>] (do_raw_spin_unlock+0x88/0xcc)
 r5:e547bac0 r4:c0bd09ec
[<c0245eec>] (do_raw_spin_unlock+0x0/0xcc) from [<c066c9cc>] (_raw_spin_unlock_irqrestore+0x14/0x40)
 r5:e547bac0 r4:60000013
[<c066c9b8>] (_raw_spin_unlock_irqrestore+0x0/0x40) from [<c044b884>] (store_above_hispeed_delay+0x6c/0x80)
 r4:c0b4cf78 r3:00000007
[<c044b818>] (store_above_hispeed_delay+0x0/0x80) from [<c0235d24>] (kobj_attr_store+0x1c/0x28)
 r7:e68ff000 r6:00000032 r5:e58137c0 r4:e61cde80
[<c0235d08>] (kobj_attr_store+0x0/0x28) from [<c0156b78>] (sysfs_write_file+0x104/0x184)
[<c0156a74>] (sysfs_write_file+0x0/0x184) from [<c0100680>] (vfs_write+0xb0/0x140)
[<c01005d0>] (vfs_write+0x0/0x140) from [<c0100900>] (sys_write+0x44/0x70)
 r8:00000000 r7:00000004 r6:00000032 r5:bee43c90 r4:e5600300
[<c01008bc>] (sys_write+0x0/0x70) from [<c000e400>] (ret_fast_syscall+0x0/0x30)
 r9:e6842000 r8:c000e584 r6:00000032 r5:bee43c90 r4:00000009

Change-Id: I80a1e0b3fecb24adba501ff44f568479deeff7fa
Signed-off-by: Minsung Kim <ms925.kim@samsung.com>
msm_serial_hs: bulk update from CodeAurora

CodeAurora tag: AU_LINUX_ANDROID_JB_2.5.04.02.02.040.282

Change-Id: I75d3133f7eb541640dd58279e018c3932253290c
Signed-off-by: Bryan Smith <zarboz@gmail.com>
ASoc: msm: Increase default buffersize to 4k for audio playback

- Increase default buffersize to 4k from 2k for audio playback
  when HAL is configured with deep buffer output.

bug-id: 7129131
Signed-off-by: SathishKumar Mani <smani@codeaurora.org>
msm-pcm-q6: Add support for flexible recording period size

- Current implementation supports only fixed buffer size
  of 320 bytes only for audio recording. This results in
  performance overhead for recording at higher sample rate.
- Added support for flexible period size so that user can
  use larger buffers for recording at higher sample rates.

Signed-off-by: SathishKumar Mani<smani@codeaurora.org>
Signed-off-by: Iliyan Malchev <malchev@google.com>

Conflicts:
	sound/soc/msm/msm-pcm-q6.c

Change-Id: I09f2dcdb891ea350280b2101d1182c380ba3b19a
ASoC: msm: Modify default buffer params of compressed driver

There can be a use case where HAL may request for
Smaller period size and corresponding buffer size for
A session, update compressed driver default period size
And buffer size based on the userspace configuration

Signed-off-by: Aviral Gupta <aviralg@codeaurora.org>
(cherry picked from commit d4e62aeb8839cf9accf2356568a14adb8d24152f)
(cherry picked from commit 462a09e10e32afb49ca50bdbfb8c4a4e13cc068a)

Change-Id: Id1aef6c71c5c71b269b6607816f7c3e5c4fd4314
Signed-off-by: Sudhir Sharma <sudsha@codeaurora.org>

Conflicts:
	sound/soc/msm/msm-compr-q6.c
ASoC: msm: reduce period_bytes_min for voice call

- Allow smaller buffer size for voice call to
  comply with MR1 audio HAL

Change-Id: Iaffca753ad07889b08ae4b6154e8d596950a979e
Signed-off-by: Mingming Yin <mingming@codeaurora.org>
ASoC: msm: Modify min and max period bytes and num periods

Modify min and max period bytes and number of periods in
compressed driver so as to be consistent with lpa and to
meet ION memory requirements. This avoids using huge
buffer sizes for tunnel decode.

Change-Id: Ib71da4cebfc097e7aeaf0ca0e65ee847ba7cceb7
Signed-off-by: Phani Kumar Uppalapati <phanik@codeaurora.org>

Conflicts:
	sound/soc/msm/msm-compr-q6.c
ASoC: msm: Decrease the playback period size of PCM driver

To support the deep buffer output, the playback buffer size is
increased to 4k from 2k. Reverting the change as the support for
deep buffer output is no longer valid.

Change-Id: I5034245bde4b55a5816506fbdfeac970a8e7804b
CRs-Fixed: 438177
Signed-off-by: Subhash Chandra Bose Naripeddy <snariped@codeaurora.org>
ASoC: re-enable RCV_AMP gpio_request code, Linux kernel style cleanup

Change-Id: Ib5487b6ba94bfe44aa62a2ec48fbeecebc6756c8
Signed-off-by: Bryan Smith <zarboz@gmail.com>
ASoC: Squashed commit reverting all changes for RCV AMP usage

Revert "ASoC: re-enable RCV_AMP gpio_request code, Linux kernel style cleanup"

This reverts commit 55c5c930ef3c8ac17110a5626d973d5315ee934f.

Revert "remove extraneous gpio_free() call"

This reverts commit 8649a331b34051c42736b1f67fe3b5c75e436f64.

Revert "Fixing earpiece amplification in call."

This reverts commit 84721e411783f8a18888cac327ca933a30e029be.

Signed-off-by: Bryan Smith <zarboz@gmail.com>
msm: m7: free requested RCV_PAMP GPIO

Change-Id: Ib13e443e40e614c62b5f5eed3f5411b12b033b5d
Signed-off-by: Bryan Smith <zarboz@gmail.com>
m7: enable mhl / hdmi.

Change-Id: I8591b9da40fdc2cb09401b97b1a4a9405d00db94
defconfig: remove HTC perflock and htc pnp manager

these not needed. HTC perflock sometimes triggered automagically,
maxing the freq to 1.1ghz.

Change-Id: Ic51dc4dc1499abce616b4d1f570a35fea786e3d2
m7: Enable NTFS read support

Useful for storage devices connected via USB-OTG.

Change-Id: Ib117eb04caa8dcb8e50400ba70676d72fc2b8f9c
m7: enable cifs support

Change-Id: I98614efa02cfa9dfd49f7b5ac488c4bb736bfc68
m7: enable utf8 support for nls

Change-Id: I18bca0f5d484480bd29d17f09f5ff819b53bdd07
USB: Prevent system suspend when HSIC device is active

Some buses like HSIC would like to keep device in suspend state after system resume. The
remote wakeup or interface activity later will auto resume the device. This will work only
if the device is auto suspended before system suspend. If the device runtime state had been
active during system suspend and system suspend routine put the device in suspend, it will
not be resumed during system resume. When remote wakeup happen for this device, the runtime
resume will not bring the device to active as runtime core think it is already active. The
HSIC bus ensure that device is auto suspended prior to system suspend by holding a wakelock
till the bus is suspended. HSIC bus is not handling the case where device is auto resumed
immediately after system suspend begins. HSIC bus simply put the device into suspend in
system suspend routine. This patch fixes above issue by returning an error code if the
device is not auto suspended during system suspend. Also add a safe guard check in HSIC
system resume routine to skip device resume only if it is auto suspended prior to system
suspend.

Change-Id: I363c9c10dff9801fcc4d700a56d5a796f5f533cd
Signed-off-by: Bryan Smith <zarboz@gmail.com>
ASoC: msm: report correct number of compressed audio codecs

Change-Id: Ifc4050112bf6220ca276cc40b8f934aa8ef3ad88
Signed-off-by: Bryan Smith <zarboz@gmail.com>