Re: [PATCH v6 0/3] fix runtime PM for SD card readers

From: Martin K. Petersen
Date: Thu Jul 22 2021 - 00:02:32 EST



Martin,

> (According to Alan Stern, "as far as I know, all") SD card readers
> send MEDIA_CHANGED unit attention notification on (runtime) resume. We
> cannot use runtime PM with these devices as I/O always fails in that
> case.

Made a few changes (added "ignore" to clarify what the flag does and
twiddled how the workaround is triggered in sd.c). Applied to
5.15/scsi-staging, thanks!

--
Martin K. Petersen Oracle Linux Engineering