msm: kgsl: Add arch_mmap_check() stub definition

Add a stub definition for arch_mmap_check() in kgsl.c for
situations where the function is not defined, similar to the
stub definition in mm/mmap.c

Change-Id: I2d0f7f8c76f35cbec1554893433199e256f76df4
Signed-off-by: Shrenuj Bansal <shrenujb@codeaurora.org>
Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
msm: kgsl: Remove cpu_is_msm8960() check

The check in the code will always evaluate to true now that we
don't support A-family and does not affect the if statement that
uses it.

Change-Id: Ifdf88cc0305eb64a6a50f72a23e69239173ee4c6
Signed-off-by: Shrenuj Bansal <shrenujb@codeaurora.org>
Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
msm: kgsl: Fix the NULL context submission size

When submitting commands with a NULL context the size may not be
calculated properly. Fix this calculation.

Change-Id: Idcc37772349673da8a9b9d5127f88946ced8fff6
Signed-off-by: Lynus Vaz <lvaz@codeaurora.org>
Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
msm: camera: Fix possible NULL pointer dereference.

The result of memory allocation in msm_isp_get_buf is not checked for
success before use. This can lead to NULL pointer dereference.

Change-Id: I83cb56bbcd5e7526bf57a6de1077a30f9a2b5349
Signed-off-by: Petar Sivenov <psiven@codeaurora.org>
Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
msm: mdss: Return suspend without delay in NOTIFY UPDATE

NOTIFY_UPDATE returns Suspend after 4 seconds delay.
Delay would cause HISTOGRAM_STOP ioctl to be called late.

Return suspend case without setting timer for no delay.

Change-Id: I356086de96cab85cd203bf1ad529ecf0b3bbfce3
Signed-off-by: Krishna Chaitanya Parimi <cparimi@codeaurora.org>
Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
Remove separate mako_hotplug_control driver to move everything to the same file arch/arm/kernel/mako_hotplug.c in preparation to bundle a bunch of new sysfs entries for full Hotplug driver control.

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
mako_hotplug:  add sysfs interface to expose the new tunables to userspace. Clean up some code styling issues.

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
Revert "ARM: dts: msm: Add low latency level to device tree"

This reverts commit 03049664f03ae61aec141af73ee78f53b6960463.
Revert "ARM: dts: msm: Update device tree node for msm-pcm-dsp"

This reverts commit d9450521592ec721184e072a925d8f6243278222.
Revert "ASoC: msm: Update the name for pcm platform driver."

This reverts commit e33a4ba85aea79fb2e6b0ca7a9cf5c3930df540d.
Revert "ASoC: msm: flush if prior and current backends rate not matching"

This reverts commit c2a4a4504080277eff5f9bea51e71f963ea8d13a.
Revert "ASoC: msm: Fix playback failure on device switch during ULL playback"

This reverts commit 63bf16faa5299a4d5a285344646a5c0dca0e2032.
Revert "ASoc: msm: qdsp6: Add ultra low latency playback support"

This reverts commit 63c5a74bffc177fa85d5ec048170ff87641b2e15.
Merge remote-tracking branch 'upstream/staging' into staging
3.4.79

Signed-off-by: kecinzer <kecinzer@gmail.com>