Re: [PATCH 1/3] [SCSI] sd: fix runtime status check in sd_shutdown

From: Sergei Shtylyov
Date: Wed Dec 14 2011 - 05:59:04 EST


Hello.

On 14-12-2011 7:17, Lin Ming wrote:

Commit af8db15 disabled device's runtime PM during shutdown.

Please also specify that commit's summary in parens.

So sd's runtime status can't be checked with pm_runtime_suspended(dev)
any more.

Fix it by checking runtime status with pm_runtime_status_suspended(dev).

Signed-off-by: Lin Ming<ming.m.lin@xxxxxxxxx>

WBR, Sergei

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/