ARM: dts: msm: Add default angle, position and mode

Add default default sensor mount angle, position and mode
in generic sensors nodes for platforms:
- apq8084
- msm8226
- msm8610
- msm8612
- msm8926
- msm8974
- msmsamarium

Change-Id: I63e6a75272dc8572694244d65c0c8d6f6aa80a53
Signed-off-by: Evgeniy Borisov <eborisov@codeaurora.org>
msm-camera: Update sensor mount angle and position

Update sensor driver to add sensor mount angle and
position as part of media entity flag for Camera
MultiModule sensor sub-devices. This info is used
by upper layers to get the info from media device
entity insted of opening camera to reduce the launch
latency.

Change-Id: Ieba103d5ab9e74a3210261b5660f41867ef5c773
Signed-off-by: Evgeniy Borisov <eborisov@codeaurora.org>
msm: camera: Change Avtimer timestamp implementation

If video telephony app uses camera, timestamp need to be more
accurate. Use hardware registers to read time in nano seconds
and fill it in buffer.

Change-Id: I25c321ec83fb952f09a57b1b0ad46b0458a990a1
Signed-off-by: Abhishek kondaveeti <akondave@codeaurora.org>
mdss: display: add spin_lock to mdss_disable_irq_nosync()

Add spin_lock to mdss_lock inside mdss_disable_irq_nosync
to avoid race condition which can cause mdss_irq to be disabled
while irq_mask bits are still set.

CRs-Fixed: 624806
Change-Id: I44074a057dff49dfc7a4d2829f3c4e599dca4a69
Signed-off-by: Kuogee Hsieh <khsieh@codeaurora.org>
Merge "usb: gadget: Fix synchronization issue between f_audio_source"
Merge "msm_serial_hs: Dynamic allocation of port structures"
Merge "msm_serial_hs: Implement driver functionality to be closer to HW spec"
Merge "msm_serial_hs: Defensive checks"
Merge "slim-ngd: change log level of slave_notify completion"
Merge "defconfig: Remove imx135 sensor module to compile"
Merge "ARM: dts: msm: Add default angle, position and mode"
Merge "msm-camera: Update sensor mount angle and position"
Merge "msm: camera: Change Avtimer timestamp implementation"
Slim_ngd: Modify waiting mechanism in kthread

wait_for_completion_timeout() is not a good option in
kthread as it leads to scheduling the kthread on the every timeout.
Hence modify it to wait_for_completion() from
wait_for_completion_timeout().

Change-Id: Iaa29e997fd1cd5cb02f9ba44e69e1700b31736ae
Signed-off-by: Kiran Gunda <kgunda@codeaurora.org>
Merge "Slim_ngd: Modify waiting mechanism in kthread"
msm_serial_hs: Avoid RX getting stuck during rapid clock on/off

Due to race conditions in clock off and clock on sequence
BAM RX descriptor doesn't get queued or may get queued multiple
times. These issues may showup when the client issues rapid clock-on
clock-off operations.
This patch optimizes clock-off sequence while synchronizing clock
off/on with the BAM RX callback (In BAM RX callback, Forcestale
is not issued for every BAM RX callback).

CRs-Fixed: 601140
Change-Id: I882bb57b597f5789daa5fef33a4bc8da174110d0
Signed-off-by: Kiran Gunda <kgunda@codeaurora.org>
Signed-off-by: Dilip Kota <c_dkota@codeaurora.org>
misc: qfpfuse: Fix overflow condition

Fix potential integer overflow for ioctl command to avoid incorrect
buffer allocation. Use the stack for data buffering to avoid the
small buffer allocation for improved performance. Increase the fuse
blow timeout in the driver to cover all QFPROM implementations.

CRs-Fixed: 550574,550575

Change-Id: Iee3cc1d38aa5dbf8ef693a43a0ca716fc8724c62
Acked-by: Radhakrishna Popuri <c_rpopur@qti.qualcomm.com>
Signed-off-by: Venkatesh Yadav Abbarapu <quicvenkat@codeaurora.org>
Signed-off-by: Gopal G Goberu <ggober@codeaurora.org>
Merge "Merge "Slim_ngd: Modify waiting mechanism in kthread""
Merge "Merge "Merge "Slim_ngd: Modify waiting mechanism in kthread"""
Merge "Merge "Slim_ngd: Modify waiting mechanism in kthread""