diff options
author | Fancy Fang <chen.fang@nxp.com> | 2018-08-29 10:58:19 +0800 |
---|---|---|
committer | Fancy Fang <chen.fang@nxp.com> | 2018-09-03 10:35:13 +0800 |
commit | 606571bee0b530ad35e503fd04bb82eca078ce59 (patch) | |
tree | 1fbde8b80eedca07b8b52806cd13e9e97511b419 /net/lapb/lapb_iface.c | |
parent | aa89da973c3072b11ea7f86af52a8e6d111b93a5 (diff) |
MLK-19400-2 drm/imx: sec-dsim_imx: alter 'rpm_suspended' to a counter
Since the DSIM's runtime PM suspend() and resume() callbacks
are also called during system PM suspend() and resume(), it
is necessary to use a counter to record the suspended depth,
and 'rpm_suspended' field can be used as this purpose which
can help to detect and avoid runtime suspend and resume calls
mismatch caused problems, by changing the 'rpm_suspended' to
be an atomic integer from a boolean type.
Signed-off-by: Fancy Fang <chen.fang@nxp.com>
(cherry picked from commit 91a8e6c8f63db328fbc752b1659bdaa67ee5c8d5)
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions