msm: board-msm7x27a: Increase Idle timeout

For 7x27a and 7x27, clocks are controlled by modem. To improve stability,
reduce number of interactions to modem to turn on and off GPU clocks.

Change-Id: Ia335960a6a139cd2fbe787d1dbe910e8e7a66f3f
CRs-Fixed: 339805
Signed-off-by: Srivalli Oguri <oguri@codeaurora.org>
msm_fb: display: Wait for VSYNC if HDMI connected

Before unsetting and reallcating the pipes, a wait of
one VSYNC is required to avoid mixer getting same pipe
allocated. But in case the HDMI cable is disconnected,
external VSYNC would not be received and the primary
display would not respond. To avoid this, wait during
unset is done only if the HDMI cable is connected.

CRs-fixed: 352950
Change-Id: I416dfbdf5c6d82023781cc8fdbfdb0021898fd18
Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
ipsec: be careful of non existing mac headers

Niccolo Belli reported ipsec crashes in case we handle a frame without
mac header (atm in his case)

Before copying mac header, better make sure it is present.

Bugzilla reference:  https://bugzilla.kernel.org/show_bug.cgi?id=42809

Reported-by: Niccolò Belli <darkbasic@linuxsystems.it>
Tested-by: Niccolò Belli <darkbasic@linuxsystems.it>
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

CRs-Fixed: 344300
Signed-off-by: Jin Hong <jinh@codeaurora.org>
(cherry picked from commit 6329bf0a03811f4644a4c8d50bf241f6db6f19b5)

Conflicts:

	include/linux/skbuff.h

Change-Id: I062e7540bdeb8b2fa1c7b57e8a6d07a01b95d0a6
Signed-off-by: Srivalli Oguri <oguri@codeaurora.org>
Merge "ipsec: be careful of non existing mac headers" into gingerbread_rel
Merge "msm_fb: display: Wait for VSYNC if HDMI connected" into gingerbread_rel
Merge remote-tracking branch 'caf/gingerbread_rel' into HEAD