Commit graph

568190 commits

Author SHA1 Message Date
Kranthikumar Kurapati
fe90a105fb crypto: msm: qcrypto: Provide fallback for aead aes192
Crypto 5 HW does not provide aes 192 function. aes 192 fallback function
has been in place. The fallback for authenc(hmac(sha256),cbc(aes)) and
authenc(hmac(sha1),cbc(aes)) are provided now in the qcrypto driver.

Change-Id: I2c61b6df12f3a4b40e0e13170a803c44270db5cf
Acked-by: Che-Min Hsieh <cheminh@qti.qualcomm.com>
Signed-off-by: Kranthikumar Kurapati <kkurap@codeaurora.org>
2016-03-23 21:12:46 -07:00
Amir Levy
6f4bd0df93 msm: ipa3: fix memory leak in __ipa_reap_sys_rt_tbls
__ipa_reap_sys_rt_tbls always deletes a routing table from
head_rt_tbl_list, but it releases the routing table memory only if
it matches the rule type (hashabale\ non hashable). This function was
called twice each time with a different rule type, therefore if a DMA
memory was allocated for the non hashable type, calling the function for
the hashable type first will delete the routing table entry and the
next call will not release the memory.
This change releases the memory for both rule types and only then deletes
the routing table entry.

Change-Id: Id7f655b324a20c9681a3c48877d825929bc205aa
Signed-off-by: Amir Levy <alevy@codeaurora.org>
2016-03-23 21:12:45 -07:00
Abhishek Kondaveeti
84bc8318a4 msm: isp: Fix composite interrupts and offline config
1. Remove composite interrupt configuration as VFE1
   registers are double buffered.
2. Change fetch engine configuration

Change-Id: Ia5fa4ed17c62d9cf100dddf52575eda2d7805a4f
Signed-off-by: Abhishek Kondaveeti <akondave@codeaurora.org>
2016-03-23 21:12:44 -07:00
Mao Li
eebc02c8a3 ARM: dts: msm: adjust virtual key map for msm8996 dtp
The virtual keys KEY_MENU/HOME/KEY_BACK are incorrectly defined
for msm8996 dtp. Exchange the positions of these three virtual
keys for a correct operation of the device.

Change-Id: Ifd2a00291a9fcb195ac270ea85fd134e82ff5082
Signed-off-by: Mao Li <maol@codeaurora.org>
2016-03-23 21:12:43 -07:00
Anna Hanna Sedlak Grinbaum
7447a8033c ARM: dts: apq: Fix configuration of DSI panel on SBC8096
Fix DSI panel configuration for SBC8096 platform:
 1) Configuration of split-dsi to support DSI0 and DSI1.
 2) Configuration of correct display panel dsi_dual_sharp_video.
 3) Enablement of DSI1.
 4) Configuration of backlight.

Change-Id: Iacf2d663a0a84b2903384c139fcd1dd6c7da9da5
Signed-off-by: Anna Hanna Sedlak Grinbaum <asedla@codeaurora.org>
2016-03-23 21:12:42 -07:00
Dhaval Patel
3c7a8474b0 msm: mdss: dsi: return true when esd status is not enabled
Panel status check returns the current state based
on esd status check method. If esd method is not configured
then it returns panel dead which is misleading. This change
returns panel status alive if esd method is not enabled or
esd check callback is not registered for certain method.

Change-Id: I5df21df16618cd62b5d1495982ff889ed53ce31b
Signed-off-by: Dhaval Patel <pdhaval@codeaurora.org>
2016-03-23 21:12:41 -07:00
Krishnankutty Kolathappilly
a309c04c54 msm: cpp: Synchronize tasklet and timeout work queue
CPP driver times out for a particular frame. Interrupt for a
particular frame is received after timeout. Tasklet is initiated
but not scheduled. Timeout sequence reloads the firmware. Before
frame is rescheduled from timeout, tasklet is scheduled and
frame is removed from queue. Null pointer dereference occurs when
timeout tries to schedule a frame that is removed from queue.

Ensure any pending scheduled events on tasklet is executed before
time out sequence reload firmware and reschedules the frame.

CRs-Fixed: 928854
Change-Id: I6b6fb55fcdfea936456ad1dd81082f19b3825c9c
Signed-off-by: Krishnankutty Kolathappilly <kkolatha@codeaurora.org>
2016-03-23 21:12:40 -07:00
Jigarkumar Kishorkumar Zala
b789d4375e ARM: dts: msm: add PMIC revid source property for flash LED
Add PMIC revid source property, in order to differentiate
between PMIC subtypes and revisions for flash LED.

Change-Id: Idd93f2c091fcf5c261e7f6c996c149a874fc3e83
Signed-off-by: Jigarkumar Kishorkumar Zala <j_zala@codeaurora.org>
2016-03-23 21:12:40 -07:00
Se Wang (Patrick) Oh
010f6cf3d2 soc: qcom: Add support PFE WA
Sometimes the PFTLB entries get stuck in the invalid state
and new prefetches get dropped. As a workaround,
when a large number of L1 prefetches have been dropped,
above a threshold, the PMU can generate an interrupt.
And then reset PFE. The default threshold is 257.

Change-Id: Id6142037fa411575c3cbaa30dd08140ab6e5cb3f
Signed-off-by: Se Wang (Patrick) Oh <sewango@codeaurora.org>
2016-03-23 21:12:39 -07:00
Tatenda Chipeperekwa
ba6b11b381 clk: msm: mdss: Change PLL/PHY status messages to debug level
The utility functions to check for PLL lock status and PHY ready
status should only report the status, and log messages for
debug/information purposes. The caller must decide on how to
treat the return value, and log appropriately depending on the
use case.

Change-Id: Id369b8c4e326d71a071a244e3de432efe89bd483
Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
2016-03-23 21:12:38 -07:00
Siddhartha Agrawal
4225cad918 ARM: dts: add sharp 1080p cmd mode panel support
Add support for the sharp 1080p command mode panel
on 8996. This panel can be selected by using the
oem override command mentioned below:

- fastboot oem select-display-panel
    prim:sharp_1080p_cmd:skip

Change-Id: I8dbf7863618cde1a47880d64a867aae80fbd73fc
Signed-off-by: Kuogee Hsieh <khsieh@codeaurora.org>
Signed-off-by: Siddhartha Agrawal <agrawals@codeaurora.org>
2016-03-23 21:12:37 -07:00
Terence Hampson
6e6d3a9047 ARM: dts: msm: add sharp 120 Hz panel support for msm8996
add sharp 120Hz panel support for msm8996 target
on CDP and MTP skews.

Change-Id: Id9410b4cfb5574b0dc5e5c2b84940ff436ffb56d
Signed-off-by: Terence Hampson <thampson@codeaurora.org>
Signed-off-by: Dhaval Patel <pdhaval@codeaurora.org>
2016-03-23 21:12:36 -07:00
Shalaj Jain
c585a29f1c ARM: dts: msm: Add max secure concurrent instance count for msm8996
Limit max secure concurrent instances to 5 due to some
system wide limitations like memory, performance etc. This
is only appcible for master side access control.

Change-Id: I3963d7f747389ea0f5b8814cdb3d8436ba465e9e
Signed-off-by: Shalaj Jain <shalajj@codeaurora.org>
2016-03-23 21:12:35 -07:00
Girish Mahadevan
d178d61132 ARM: dts: msm: Enable BLSP entries for msm8996 auto platforms
Enable the BLSP instances used for the msm8996 Agave and Dragonboard
platforms.

Change-Id: If9692995ea35870db488fd69a2153f59daca58f9
Signed-off-by: Girish Mahadevan <girishm@codeaurora.org>
2016-03-23 21:12:35 -07:00
Ankit Gupta
f571ff2a0b ARM: dts: msm: Add blsp instances for 8996
Add i2c, uart and spi instances for 8996.

Change-Id: I5262dd0ef9fee8d4f6ae7bed2bc2edc2d8a9e71b
Signed-off-by: Ankit Gupta <ankgupta@codeaurora.org>
Signed-off-by: Mayank Chopra <makchopra@codeaurora.org>
2016-03-23 21:12:34 -07:00
Rajesh Kemisetti
dd68fb8d5b msm: kgsl: Don't enable GPU 64bit when kernel is in 32bit configuration
Setting the GPU to 64bit when rest of world is in 32bit can
make the GPU misbehave. Hence, check the kernel configuration
before actually moving the GPU to 64bit mode.

Change-Id: Ie4cf6c2d4fdfa978287c86812bdce4bf8c56ef5f
Signed-off-by: Rajesh Kemisetti <rajeshk@codeaurora.org>
2016-03-23 21:12:33 -07:00
Sarada Prasanna Garnayak
f8beb5f99e net: cnss: remove 3.3v PMIC gpio enable feature
PMIC gpio used for the 3.3v power supply to wlan has been
converted to rome_vreg fixed regulator. This Fixed regulator
shared by both WLAN and BT. Remove PMIC gpio enable dead code
from CNSS SDIO platform driver.

CRs-Fixed: 945575
Change-Id: Ifbb17e05969da25ec9a87844b4409e26f07fca69
Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
2016-03-23 21:12:32 -07:00
Liron Kuch
13d7f53b31 ARM: dts: apq: Add USB OTG support for APQ8096 DragonBoard
USB OTG mode depends on USB ID detection performed by the PMIC driver.
APQ8096 DragonBoard SOMs use either a PMI8994 or a PMI8996 component.
In PMI8994, USB ID detection is based on an interrupt handled by the
qpnp-smbcharger driver, so the pmi8994_charger device tree node
must be enabled.
In PMI8996, pmi8994_fg device needs to be enabled as well, as the charger
USB ID detection is not connected to any interrupt, but handled by the
qpnp-fg driver.
Additionally, remove USB PHY initialization which causes USB PHY PLL
lock failure.

Change-Id: I8d7bc23e7c730174fb8f9f6c52dc4f5e02a0ec6e
Signed-off-by: Liron Kuch <lkuch@codeaurora.org>
2016-03-23 21:12:31 -07:00
Venkata Narendra Kumar Gutta
fbf1d2a65a ASoC: msm: Fix Incall recording downlink failure
In Voice call, Incall recording in downlink path isn't working.
This is due to dpcm capture flag isn't set for "Incall Record
Downlink" backend DAI link. Update this flag to fix this issue
and also, update the naming convention of Incall recording DAI
links to avoid confusion.

CRs-Fixed: 943349
Change-Id: I788b8718699c3d0ec4de257a57e01f6438bb04a9
Signed-off-by: Venkata Narendra Kumar Gutta <vgutta@codeaurora.org>
2016-03-23 21:12:30 -07:00
Prakash Kamliya
f5d225e2ff msm: kgsl: Fix state transition action from deep_nap state
Deep nap removes the quality of service latency vote. Restore device
before powering back the GPU while coming out of deep nap.

Change-Id: I9366ffa6f5f2768cb3ea10f9117678ba8cf8d190
Signed-off-by: Prakash Kamliya <pkamliya@codeaurora.org>
Signed-off-by: Divya Ponnusamy <pdivya@codeaurora.org>
2016-03-23 21:12:29 -07:00
Bhalchandra Gajare
56ed9e43b7 ASoC: msm-cpe-lsm: Fix out of memory on buffer allocation
The buffer used for look-ahead-buffering is allocated during IOCTL from
userspace. It is possible that userspace can invoke this IOCTL multiple
times without invoking the IOCTL to de-allocate the buffer. This results
in out of memory issue for buffer allocation during stress testing. Fix
this issue by avoiding multiple buffer allocations.

CRs-fixed: 942452
Change-Id: Id9eb99dc2c8527fbbe1fe79fca1cdcea232c33da
Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
2016-03-23 21:12:29 -07:00
Naseer Ahmed
a9de5b071d msm: mdss: Add QPIC display support
Enabled QPIC display support by stubbing out MDP specific
functions. Fixed compile errors by removing obsolete
include files.

Change-Id: Ibd0159bd530dcef69848a93ad2dd302d58dbc447
Signed-off-by: Naseer Ahmed <naseer@codeaurora.org>
2016-03-23 21:12:28 -07:00
Kuirong Wang
3ca62676db ARM: dts: msm: add spi-msm-codec-slave device
Add spi-msm-codec-slave device as a subnode of spi_0.

Change-Id: I0cafb8ffb684ce78a9dedcdba6e9ecae49e434f2
Signed-off-by: Kuirong Wang <kuirongw@codeaurora.org>
2016-03-23 21:12:27 -07:00
Phani Kumar Uppalapati
5371285772 ASoC: wcd9335: Clear TX HOLD for ANC input MUX'es
Clear TX HOLD when ANC is enabled and decimator
10 to 13 are selected.

Change-Id: I18c1ddeacc59c1ae7d88daf371c84140c0459693
Signed-off-by: Phani Kumar Uppalapati <phaniu@codeaurora.org>
2016-03-23 21:12:26 -07:00
Phani Kumar Uppalapati
2f3bde0fa0 ASoC: wcd9335: Update low hifi and low power modes for headphones
Update register sequence for low hifi and low power modes
for headphones on wcd9335 codec to achieve better performance.

Change-Id: Icf543df7c4e8ab4cc9222a39bf1df4e6af4ab8ec
Signed-off-by: Phani Kumar Uppalapati <phaniu@codeaurora.org>
2016-03-23 21:12:25 -07:00
Phani Kumar Uppalapati
b7f1874102 ASoC: wcd9335: Update HIFI mode sequence for headphones
Update HIFI mode register sequence for headphones on
wcd9335 codec for better performance.

Change-Id: I277a38847d02c4500cc3d2c77b00fbe4a63e2f83
Signed-off-by: Phani Kumar Uppalapati <phaniu@codeaurora.org>
2016-03-23 21:12:24 -07:00
Yan He
0307f3529b msm: sps: add the checking of ZLT in case of an empty pipe
Check if a ZLT descriptor is the last pending descriptor in
the desc FIFO when determine if the desc FIFO of that pipe is
empty.

Change-Id: Ib8174953d6ad7d886f47f21e243e985b79ef41fb
Signed-off-by: Yan He <yanhe@codeaurora.org>
2016-03-23 21:12:23 -07:00
Veera Sundaram Sankaran
9d65c3021c msm: mdss: add ftraces to panel on and off
Add ftraces to dsi panel on and panel off to get better profiling
data during suspend and resume cases. This delay would be varying
depending upon the panel and so the data would be helpful in
isolating panel related delays.

Change-Id: I16ca90ee7968a57b4f56462b0a00a31a145524b5
Signed-off-by: Veera Sundaram Sankaran <veeras@codeaurora.org>
2016-03-23 21:12:23 -07:00
Olav Haugan
81df3cf70b staging: zram: Rate limit memory allocation errors
If an error occurs allocating memory for zram we will not be able to
fullfill the request to store the page in zram. The swap subsystem still
continues to try to swap out pages to zram even when this error occurs
since there is currently no facility to stop the swap subsystem from
swapping out during such errors. This can cause the system to be
overflowed with logging errors.

Reduce the amount of logging to prevent the kernel log from being filled
with these error messages

Change-Id: I54b920337749ece59d9ca78fa8b29345ec7b976b
Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
2016-03-23 21:12:22 -07:00
Dhaval Patel
d722a1a4e9 msm: mdss: update secure display validation checks
Non-secure pipe should not be staged on MDSS when
secure display session is in progress. Client has
to unstage all pipes to disable the secure session
before pushing non-secure layers on MDP. This change
updates the validation checks to avoid such conditions.

Change-Id: I626c6c3a5ef313b1af8369884a9b10d8586f7251
Signed-off-by: Dhaval Patel <pdhaval@codeaurora.org>
2016-03-23 21:12:21 -07:00
Tony Truong
fd84788e99 msm: pcie: mask Synopsys MSI for PCIe0 on mdmcalifornium
In order for the host to receive Synopsys MSIs from its endpoint,
the MSIs need to me masked in the PCIe global interrupt mask
register. Therefore, mask all Synopsys MSIs in PCIe bus driver.

Change-Id: I3afbe233e3298e98a27e7df59f325cf9969a0ee5
Signed-off-by: Tony Truong <truong@codeaurora.org>
2016-03-23 21:12:20 -07:00
Jayant Shekhar
e50765b455 msm: mdss: ensure ctl flush in case of fence timeout
In the current composition cycle, if the staging params are
not changed, then currently MDP flush register is not configured.
But due to any unforeseen reason if MDP fence timeout happens then
to handle it gracefully we stage border fill. In this regard as
the mixer config has now changed, then ctl flush has to be set.

Change-Id: I24b9cb28426f8829ac3bb36bfa32859b588d06fd
Signed-off-by: Jayant Shekhar <jshekhar@codeaurora.org>
2016-03-23 21:12:19 -07:00
Anna Hanna Sedlak Grinbaum
6b565db34e ARM: dts: apq: Fix configuration of touchscreen on SBC8096
Fix touchscreen configuration:
 1) Change display and panel coordinates.
 2) Remove mapping of touchpad keys.
 3) Add support for firmware update.
 4) Fix I2C clock configuration to BLSP8.

Change-Id: If18bd0396143dc9f21a1b5591a65a547256d64d8
Signed-off-by: Anna Hanna Sedlak Grinbaum <asedla@codeaurora.org>
2016-03-23 21:12:18 -07:00
Arun Kumar Neelakantam
9188869e03 soc: qcom: glink: Add support for transport based logging
All Transports debug logs are captured in one logging context
which makes the debugging difficult and has a chance to miss
the important logs due to other high traffic transports like RPM.

Create separate logging context for each transports for better
debugging.

Change-Id: If2d00966a186dc48badc8a9a2e017eec6895dcad
Signed-off-by: Arun Kumar Neelakantam <aneela@codeaurora.org>
2016-03-23 21:12:17 -07:00
Govind Singh
9e34c2bdf3 net: cnss: enable rome_vreg_dsrc regulator for dsrc
rome_vreg_dsrc regulator is a fixed regulator and this regulator
is control by PMIC gpio4. This is being used as vdd supply for
the wlan DSRC module based on sdio interface. Enable rome_vreg_dsrc
voltage regulators to enable the power up support in CNSS SDIO
platform driver.

Change-Id: I7c6032b706d468cc57b5304a3627f526935fb3a3
Signed-off-by: Govind Singh <govinds@codeaurora.org>
2016-03-23 21:12:17 -07:00
Govind Singh
89d90cdddb net: Fix regulator_put for wlan_vreg
wlan_vreg is not freed in cnss_sdio_release_resource, free
wlan_vreg in cnss_sdio_release_resource.

Change-Id: I0b82a4eaf532eb0131d192f9a59184e4ea587cc8
Signed-off-by: Govind Singh <govinds@codeaurora.org>
2016-03-23 21:12:16 -07:00
Jayant Shekhar
8dac581141 msm: mdss: Correct max threshold bandwidth selection logic
Max threshold Bandwidth selection logic should be independent of
number of entries in max bandwidth limit DT property. Correct the
logic to make it independent.

Change-Id: I6510ad7095560b25bbada7c63c44ae88a6d955f1
Signed-off-by: Jayant Shekhar <jshekhar@codeaurora.org>
2016-03-23 21:12:15 -07:00
Jayant Shekhar
27dabc15e9 msm: mdss: Generalize per pipe bw limit implementation
Currently per pipe bandwidth limit implementation takes
care of only HFLip and VFLip case. Make it generic such
that it takes care of Camera usecase as well.

Change-Id: I6642bdb0611aa973a7563df019bf2dcdd5e4e584
Signed-off-by: Jayant Shekhar <jshekhar@codeaurora.org>
2016-03-23 21:12:14 -07:00
Girish S Ghongdemath
ccaec924ed drivers: cpuidle: msm: Use 64 bit type for sclk
'us' can overflow and can potentially cause unexpected wakeup.

Change it to uint64_t.

Change-Id: I943cbc9d62268ca073e388c287e3b180c0eaa8e3
Signed-off-by: Girish S Ghongdemath <girishsg@codeaurora.org>
Signed-off-by: Maulik Shah <mkshah@codeaurora.org>
2016-03-23 21:12:13 -07:00
Amir Samuelov
9c49666264 defconfig: msmcortex: enable spcom driver for msmcobalt
Enable Secure Processor Communication (spcom) driver for msmcobalt.

Change-Id: I1196bc5495b08126adbcbdb7e4d7a65a4a08609b
Signed-off-by: Amir Samuelov <amirs@codeaurora.org>
2016-03-23 21:12:12 -07:00
Abhishek Kondaveeti
45d9709b69 msm: isp: Fix offline isp
1. Configure the pixel pattern properly
2. Issue reg update before fetch engine starts

Change-Id: Ie4cb3df883e6f2ad2f30512297a836fb012e949c
Signed-off-by: Abhishek Kondaveeti <akondave@codeaurora.org>
2016-03-23 21:12:11 -07:00
Amir Samuelov
09e5b18869 soc: qcom: add secure processor communication (spcom) driver
This driver supports communication with secure processor subsystem
over glink transport layer.
The communication is based on using shared memory and interrupts.
This driver exposes interface to both kernel and user space.

Change-Id: Iec5fc78c8370002643b549e43015c06b09d8ab8b
Signed-off-by: Amir Samuelov <amirs@codeaurora.org>
2016-03-23 21:12:11 -07:00
Pavan Anamula
876012215c mtd: nand_ids: Add Micron & Kingston NAND details
Add 2K + 64 Micron and 2K + 128 Kingston NAND parts.

Change-Id: I03928ea3a0a4b7bef86be087f5a315b88935b4e3
Signed-off-by: Pavan Anamula <pavana@codeaurora.org>
2016-03-23 21:12:10 -07:00
Jeevan Shriram
ed8ae25f2a cgroup: fix uninitialized usage of a variable
It is possible that 'root' variable is used uninitialized. This
change avoids usage of uninitialized usage of the variable.

Change-Id: I9a3bd941a23736cb003f209cf6dde84fd859e9e6
Signed-off-by: Jeevan Shriram <jshriram@codeaurora.org>
2016-03-23 21:12:09 -07:00
Jeevan Shriram
105850528e net: core: fix compilation warning for uninitialized variable
It is possible that the 'tail' variable is used without initialization.
This change fixes uninitialized variable usage.

Change-Id: Idbd7d52797af2eeffcece19249055d5099a7fdb1
Signed-off-by: Jeevan Shriram <jshriram@codeaurora.org>
2016-03-23 21:12:08 -07:00
Jeevan Shriram
70db50a9b2 net: ipv4: fix compilation warning for uninitialized variable
It is possible that the 'in' variable is used without
initialization. This change fixes uninitialized variable usage.

Change-Id: If26733110b29ec1c1150f1da50efa0c1ac6c2796
Signed-off-by: Jeevan Shriram <jshriram@codeaurora.org>
2016-03-23 21:12:07 -07:00
Naveen Ramaraj
7abd9a80d9 net: unix: Fix uninitialized warnings when building for ARCH=um
Fix compiler warnings for uninitialized variables.

Change-Id: I60571fbaef16f6c112b6e99f6e0bab46150fb241
Signed-off-by: Naveen Ramaraj <nramaraj@codeaurora.org>
Signed-off-by: Jeevan Shriram <jshriram@codeaurora.org>
2016-03-23 21:12:06 -07:00
Bhalchandra Gajare
be06d38f28 ASoC: wcd_cpe_services: Fix DRAM size for WCD9335
The DRAM size used for codec WCD9335 is incorrect, this is causing the
dumps to be wrong. Update the DRAM size for WCD9335 as per the memory
map.

CRs-fixed: 929517
Change-Id: Ie4815b4cedf429b0d7045b84381d945bde62d5ce
Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
2016-03-23 21:12:05 -07:00
Bhalchandra Gajare
625bbd03d8 ASoC: wcd_cpe_core: Fix address and size for ramdumps
Since the underlying codec can have different memory map, it is possible
the starting offset and size for DRAM can be different as well. This
causes the collected dumps to be incorrect on some platforms. Fix the
ramdump collection to obtain DRAM offset and size from CPE services
which is aware of the codec being used.

CRs-fixed: 929517
Change-Id: I6a592d8f97da117d1e58154460cd0b8f3cbf62c7
Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
2016-03-23 21:12:05 -07:00
Veera Sundaram Sankaran
c4254bcb19 msm: mdss: protect clk enable member with mdp lock
During irq_disable, mdp_lock is held and intr status is checked and
cleared if any. If a new irq is triggered from another CPU at the
same point, it would ideally be waiting on mdp_lock held by the other
CPU. And when the mdp_lock is released after clearing the irq, mdp_isr
is executed and at this point, clks might have been disabled. To avoid
it, protect the clk_ena variable with mdp_lock and also check for the
clk_ena status and skip irq handling when it is disabled.

Change-Id: Ic71d2b6f877ca3510a0d0fa593a8a0c17e93d8f3
Signed-off-by: Veera Sundaram Sankaran <veeras@codeaurora.org>
2016-03-23 21:12:04 -07:00