mdss: mdp: fix incorrect programming of scalar enable

In use-cases where scaling is required in one direction
and not on other, scalar extension parameter will be set
to update the scale register. Add proper check to this enable
scale bit only in the required direction.

Change-Id: I5527f22c83fe456d0124af12516c5bdb240e80a9
Signed-off-by: Jeevan Shriram <jshriram@codeaurora.org>
msm: mdss: Dynamically enabling ESD

Allow the check_status interval time to be
configurable via /sys interface.
Allow the dsi_check_status function to be
enabled or disabled via /sys interface
Combine MDP3 & MDP5 code and separate
the platform specific code.

Change-Id: I0a6be25b6974ff8dafa472febbdbde517d35cbbc
Signed-off-by: Raghavendra Ambadas <rambad@codeaurora.org>
Signed-off-by: Shivaraj Shetty <shivaraj@codeaurora.org>
msm: mdss: Cancel ESD workqueue whenever display off happens

Display can be turned off by using different ioctls. Make sure that
in all the cases ESD workqueue is cancelled.

CRs-Fixed: 626835
Change-Id: Id14992665e4a86941386a8269600d322c3500a70
Signed-off-by: Shivaraj Shetty <shivaraj@codeaurora.org>
ASoC: msm-lsm-client: handle close gracefully

The listen pcm device could get closed abruptly due to userspace
application crash. In such cases, the device close will be invoked
abruptly. Handle this scenario gracefully by properly cleaning up the
driver before close.

Change-Id: Ie841f300400d547260da92383712a9aa0689d7a7
Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
msm: vidc: Disable clock gating feature

Clock gating between inter frames when video hardware
is in IDLE state is not giving any power savings and
at the same time this feature is resulting in few
stability issues. So disabling clock gating feature.

Change-Id: I3d1d4521ec3ee2fbd25d80b33bd5c531a25d9034
Signed-off-by: Maheshwar Ajja <majja@codeaurora.org>
Signed-off-by: Balamurugan Alagarsamy <balaga@codeaurora.org>
Merge "msm: mdss: Dynamically enabling ESD"
Merge "msm: mdss: Cancel ESD workqueue whenever display off happens"
Merge "mdss: mdp: fix incorrect programming of scalar enable"
Merge "msm: vidc: Disable clock gating feature"
rpm_log: Fix file_read error

Issue:
cat /d/rpm_log
sh: cat: /d/rpm_log: Try again

The change was incorrect pushed without braces around if statement.
Return -EAGAIN only if the file permission is O_NON_BLOCK or there
is nothing in the log buf.

Change-Id: Id7a549c223aad86185da928b2592c8de02e87623
Signed-off-by: Archana Sathyakumar <asathyak@codeaurora.org>
Merge "ASoC: msm-lsm-client: handle close gracefully"
Merge "rpm_log: Fix file_read error"
Merge 3e82996ed352f788d3bc56d23ace8b62276b6477 on remote branch

Change-Id: I574501c4854a1087552a16655a61689248fc4a74
Merge "Merge 3e82996ed352f788d3bc56d23ace8b62276b6477 on remote branch"