Re: [PATCH] scsi: sd: add runtime pm to open / release

From: Bart Van Assche
Date: Thu Jun 25 2020 - 23:53:30 EST


On 2020-06-25 01:16, Martin Kepplinger wrote:
> Also, why isn't "autopm" used in its ioctl() implementation
> (as opposed to in "sr")?

Some of the scsi_autopm_{get,put}_device() calls in the sr driver
have been introduced by me before I fully understood runtime pm.
I will have a another look to see whether these are really
necessary and if not, post a patch to remove these again.

Bart.