Revert "msm_fb: display: perform backlight updates on overlay play"

This reverts commit da2f3cc0003c55cd18d6f052ecb9530fe2acea9a.

Conflicts:
	drivers/video/msm/msm_fb.c
Revert "Revert "msm_fb: display: Add backlight with first pan display after resume""

This reverts commit c10cdb8bdfbfc36ccfb7980b302d05715073f459.

Conflicts:
	drivers/video/msm/msm_fb.c
Revert "Revert "Revert "msm_fb: display: Add backlight with first pan display after resume"""

This reverts commit 83c05e5c972b580ba29d3def73524bdbe6ffeaa5.
msm_fb: call the backlight control before FB_BLANK_POWERDOWN

You might see the white line while lcd off. You should turn lcd backlight
off before lcd off to avoid that issue. So call the notifier for backlight
before handling of FB_BLANK_POWERDOWN in msm_fb.

Change-Id: I3bd08025a949ec02a1fba7cef98a13d8977c135b
video: msm: Send ETIMEDOUT on update-notify timeout

Send the ETIMEDOUT errno when the update-notify wait_for_completion times
out. This is required to be able to properly handle the different failure
cases in the functions that use the update notify ioctl.

Change-Id: I0e46b0b0c89f6b2e5beb3fc0ed18ebbb75dfa434
Signed-off-by: Carl Vanderlip <carlv@codeaurora.org>
Signed-off-by: Pravin Tamkhane <pravint@codeaurora.org>
video: msm: Fix initial state of LCD backlight

 * For devices which use the LCD backlight (such as D2), we need
   to actually call the function which sets the brightness after
   initializing it in the probe.

Change-Id: Id6b7c0de3cd31181394c56c7f6061bca9defd861
msm: msm_fb: remove mmio access through mmap

Disable access to mm io and add
appropriate range checks to ensure valid accesses
through framebuffer mmap. This prevents illegal
access into memory.

CRs-Fixed: 474706
Change-Id: If25166f2732433ef967e99c716440030b567aae9
Signed-off-by: Manoj Rao <manojraj@codeaurora.org>
(cherry picked from commit b571bef36cf51f9bb4cd1ad3ba23e3cee6d1d3cb)

Conflicts:

	drivers/video/msm/msm_fb.c

Signed-off-by: Raviteja <adimur@codeaurora.org>
msm: display: Prevent fb suspend in charging mode for all