msm: mdp: Validate input arguments from user space

Fully verify the input arguments from user client are safe
to use.

Change-Id: Ie14332443b187951009c63ebfb78456dcd9ba60f
Signed-off-by: Raghavendra Ambadas <rambad@codeaurora.org>
power: qpnp-charger: hot fix for not charging issue

Resolve merging conflict to set IUSBMAX registers when
500mA current is drawn.

CRs-fixed: 751630
Change-Id: I9d8a3db41ee6f0f6912a30418e668651ecc2f515
Signed-off-by: Zhenhua Huang <zhenhuah@codeaurora.org>
Merge "power: qpnp-charger: hot fix for not charging issue"
Merge "msm: mdp: Validate input arguments from user space"