msm_fb: display: exit properly when rotator max session reached

When rotator session reach maximum, it should exit without calling
put_img since no get_img had been called.

CRs-fixed: 466462
Change-Id: I951570227ebd81da6dad19c1b897cde84f8d0451
Signed-off-by: Kuogee Hsieh <khsieh@codeaurora.org>
gpio: msm-common: Fix irq_set_type for dual edge trigger

msm_gpio_update_dual_edge_pos() function will set correct
trigger type based on the current gpio level in case that
the interrupt type is both edge trigger type (IRQF_TRIGGER_RISING
|IRQF_TRIGGER_FALLING). Later again we set the msm_gpio_irq_extn
set_type with mpm to set it as IRQF_TRIGGER_RISING.

Avoid configuring the type with mpm if it is dual edge trigger.

CRs-Fixed: 421325
Change-Id: I049362e7f7eacdeab13d4c6b190262c015419efd
Signed-off-by: Taniya Das <tdas@codeaurora.org>
usb: smd: Call smd_close API from workqueue context

smd_close API cannot be called from ATOMIC context, hence move
it from interrupt context to workqueue context.

Change-Id: I9e8ca633f170b48b82f1ead50068b8c7fde5ccff
CRs-Fixed: 419610
Signed-off-by: Manu Gautam <mgautam@codeaurora.org>
board-8960-gpiomux: Correct Primary UART GPIOs suspend configuration

Currently Primary UART GPIos (93, 94, 95, 96) are having suspend
configuration where functional mode is set as 2 (UART Mode). These
GPIOs are required to be in GPIO mode when those are not used for
UART functionality. Hence correct these GPIOs suspend configuration
by changing functional mode from 2 (UART Mode ) to 0 ( GPIO Mode ).

CRs-Fixed: 467671
Change-Id: I98b101a665a0d6398007be7f0b13007cc71cffc3
Signed-off-by: Mayank Rana <mrana@codeaurora.org>