diff options
| author | Igor Pylypiv <[email protected]> | 2024-10-21 20:18:28 +0000 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2024-11-07 01:45:16 +0000 |
| commit | 4501ea5f0a5ca1a3fe58ef7b48f1bd3829c6c7e5 (patch) | |
| tree | 9641be97c750be57a0333f3a2ca90e89b9819330 /drivers/platform/x86/intel/pmt/class.c | |
| parent | scsi: pm8001: Use module param to set pcs event log severity (diff) | |
| download | kernel-4501ea5f0a5ca1a3fe58ef7b48f1bd3829c6c7e5.tar.gz kernel-4501ea5f0a5ca1a3fe58ef7b48f1bd3829c6c7e5.zip | |
scsi: pm8001: Initialize devices in pm8001_alloc_dev()
Devices can be allocated and freed at runtime. For example during a soft
reset all devices are freed and reallocated upon discovery.
Currently the driver fully initializes devices once in pm8001_alloc().
Allows initialization steps to happen during runtime, avoiding any
leftover states from the device being freed.
Signed-off-by: Igor Pylypiv <[email protected]>
Signed-off-by: Terrence Adams <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'drivers/platform/x86/intel/pmt/class.c')
0 files changed, 0 insertions, 0 deletions
