OSDN Git Service

msm: mdss: Change function from disbale_irq_nosync to disbale_irq
authorRashi Bindra <rbindra@codeaurora.org>
Thu, 19 Jul 2018 07:10:52 +0000 (12:40 +0530)
committerRashi Bindra <rbindra@codeaurora.org>
Mon, 30 Jul 2018 07:24:52 +0000 (12:54 +0530)
commitfdbc0d26cc7cd0aa9c2d9f5d25b5baed99682a20
treef03c60679aa12c113e8badd3f23d8e54b6f00040
parent74891ac5bfe30ef8b0724821aa81fba30256945b
msm: mdss: Change function from disbale_irq_nosync to disbale_irq

Potential deadlock can happen while we disable irq and at the same
time an irq is triggered to request for the same resource. Thus,
it will pre-empt the spin-lock. Hence, change the function call to
disbale_irq to prevent local interrupts.

Change-Id: I7b80810b13660df8801533d418c78f2db75dd5b6
Signed-off-by: Rashi Bindra <rbindra@codeaurora.org>
drivers/video/fbdev/msm/mdss_dsi_host.c