summaryrefslogtreecommitdiffstats
path: root/drivers/md/raid1.c
diff options
context:
space:
mode:
authorLoic Poulain <loic.poulain@linaro.org>2021-04-06 11:11:54 +0200
committerManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>2021-04-07 12:18:28 +0530
commit4547a749be997eb12ea7edcf361ec2a5329f7aec (patch)
tree1220e0cd9bdf2b6549a62f38f7c4ac6d744f0c59 /drivers/md/raid1.c
parent79d056976485baaa6225ff2331b83084051c98a8 (diff)
downloadlinux-4547a749be997eb12ea7edcf361ec2a5329f7aec.tar.bz2
bus: mhi: core: Fix MHI runtime_pm behavior
This change ensures that PM reference is always get during packet queueing and released either after queuing completion (RX) or once the buffer has been consumed (TX). This guarantees proper update for underlying MHI controller runtime status (e.g. last_busy timestamp) and prevents suspend to be triggered while TX packets are flying, or before we completed update of the RX ring. Signed-off-by: Loic Poulain <loic.poulain@linaro.org> Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Link: https://lore.kernel.org/r/1617700315-12492-1-git-send-email-loic.poulain@linaro.org Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Diffstat (limited to 'drivers/md/raid1.c')
0 files changed, 0 insertions, 0 deletions