Re: [PATCH] scsi: pm8001: Initialize devices in pm8001_alloc_dev()

From: Martin K. Petersen
Date: Sat Nov 02 2024 - 20:18:37 EST



TJ,

> Devices can be allocated and freed at runtime. For example during a
> soft reset all devices are freed and reallocated upon discovery.
>
> Currently driver fully initializes devices once in pm8001_alloc().
> This commit allows initialization steps to happen during runtime,
> avoiding any leftover states from the device being freed.

Applied to 6.13/scsi-staging, thanks!

--
Martin K. Petersen Oracle Linux Engineering