msm_fb: display: Do clock control within mdp4_hw_init

Since mdp4_hw_init() access mdp registers, mdp clock control
within mdp4_hw_init() is necessary.

CRs-fixed: 455506
Change-Id: I768f468314fc920029b4c88e49ef6a74f6b74f58
Signed-off-by: Kuogee Hsieh <khsieh@codeaurora.org>
ASoC: wcd9304: Resend edge triggered GPIO IRQ

If MBHC GPIO IRQ for mechanical headset detection asserted while power
management's suspend call chain is being called, wcd9xxx_lock_sleep will
fail to wait for system's resume since power management interface has
to finish suspend in order to resume system.
In this case, interrupt cannot be handled as codec driver cannot
guarantee if underlying bus is awake.
Wake up system and resend the IRQ for this situation.

Change-Id: I8fb58ee6c3eb310e63dfc2e31f4055488d552d45
CRs-Fixed: 458899
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
msm_fb: hdmi: Remove supported resolution check

The change will remove the supported resolution check while turning
on the HDMI. The supported resolution is updated on parsing EDID for
VIC and matching it with default mode in HDMI. This may fail in case
the default video mode is not available in EDID of TV resulting in
HDMI turn on failure.

Also, this check is not needed because we now have the HDMI display
pipe line check which will make sure we do not turn on HDMI if it
is not supposed to be turned ON.

CRs-Fixed: 461486
Change-Id: I09ba863cb6f56c6c5d599b91516855f0540f17c3
Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
msm_fb: hdmi: Update frame rate on resolution change

On resolution change, we need to update the frame rate as well.
Video mode programming in HDMI can also be based on frame rate.

CRs-Fixed: 461486
Change-Id: I4cf1192796482ec0aa7aa130297f740c96115e08
Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
msm: kgsl: Bump up the GPU frequency for long batch processing

Compute workloads run without kernel interaction for long periods
of time.  If one is identified early, increase the frequency to
finish it as fast as possible, rather than waiting for the standard
algorithm to do so.

Change-Id: I213ccabfae5e1000cdc34bc1d92bdc3bad86383d
CRs-Fixed: 441847
Signed-off-by: Lucille Sylvester <lsylvest@codeaurora.org>
(cherry picked from commit 14c9cd845d6a93d7ab91fffa90fa316aebb18942)
msm_fb: Correctly setup splash screen flag in MDP probe

The continuous splash screen flag is sometimes not correctly setup
during MDP probe. This causes a corrupted grey screen on resets.

CRs-fixed: 389531
Change-Id: Id88d8a239ccfd1cbb5ce0f4f3db68756182f5ff9
Signed-off-by: Siddhartha Agrawal <agrawals@codeaurora.org>
Signed-off-by: Mayank Goyal <goyalm@codeaurora.org>
msm_fb: display: Avoid dsi clock warnings during boot

Correctly set up the dsi_clk_rate in
cont_splash_clk_ctrl before enabling them.

Crs-fixed: 389531
Change-Id: Iee13e6d871ca1fdb7f3f45a5e3b36784145abd86
Signed-off-by: Mayank Goyal <goyalm@codeaurora.org>
Merge "msm_fb: hdmi: Remove supported resolution check"
Merge "msm_fb: hdmi: Update frame rate on resolution change"
Merge "msm: kgsl: Bump up the GPU frequency for long batch processing"
qup_i2c: Use separate variables to store i2c gpios settings

In i2c bus recovery function GPIO settings for both
SCL and SDA are stored in one variable in this order
before writing recovery settings.
So, SCL setting is overwritten with SDA setting.
And when saved gpios settings write it back after
recovery, the setting for SDA is written both on SCL and SDA.
It means the setting of SCL is broken.

Use separate instances of variables to store GPIO settings
of SDA and SCL separately

CRs-Fixed: 447585
Change-Id: I7014a5b12d4c7ef41fd28c543834d45c619695a9
Signed-off-by: Alok Chauhan <alokc@codeaurora.org>
radio: iris: Allow user to set number of stations

Maximum number of stations to be searched passed from application
is not passed to FM Soc

Set max number of stations to be searched passed from framework
instead of always setting number of stations to zero

(cherry picked from commit 7ba5c1ccceac56a2c4de59d379af68289f5726d4)

Change-Id: Ib1d213be7ee9eca9a9e9f71c9595d277b1be8c14
CRs-Fixed: 421945
Signed-off-by: Ayaz Ahmad <aahmad@codeaurora.org>
msm: kgsl: Remove invalid context_id logging

Remove printing of "invalid context_id" messages and
replace those with simply returning with -EINVAL. The
messages serve little purpose and their removal alleviates
kernel log spamming.

CRs-fixed: 449050
Change-Id: Id0d6538d228e7dc928a628bdffde8c952ec5d6fe
Signed-off-by: Harsh Vardhan Dwivedi <hdwivedi@codeaurora.org>
Asoc: msm: 8064: Set channel as Mono for Incall Music Delivery

For incall music delivery, there is only one share channel is
supported between MDM and APQ. If the media is stereo, afe tries to
open two share channels and causes music playback failure.
Add fixup fucntion to always set the channel as 1 whenever the media
is stereo or mono. And make sure only one share channel is opened.

(cherry picked from commit 548741eb8164c54197d2625120481dd1b51242d1)

Change-Id: I3b2b9a4d3be69797fa2e6f3a507cf360dcf1f22c
CRs-Fixed: 398100
Signed-off-by: Helen Zeng <xiaoyunz@codeaurora.org>
Signed-off-by: Jessica Gonzalez <jgaona@codeaurora.org>
Merge "msm_fb: Correctly setup splash screen flag in MDP probe"
Merge "msm_fb: display: Avoid dsi clock warnings during boot"
Merge "qup_i2c: Use separate variables to store i2c gpios settings"
Merge "Asoc: msm: 8064: Set channel as Mono for Incall Music Delivery"
Merge "msm: kgsl: Remove invalid context_id logging"
Merge "msm_fb: display: Do clock control within mdp4_hw_init"