diff options
author | Igor Pylypiv <[email protected]> | 2024-10-21 13:18:28 -0700 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2024-11-06 20:45:16 -0500 |
commit | 4501ea5f0a5ca1a3fe58ef7b48f1bd3829c6c7e5 (patch) | |
tree | 9641be97c750be57a0333f3a2ca90e89b9819330 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
parent | c8d81a438544a8c439b89bd88cfdc35117011658 (diff) |
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 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions