diff options
| author | zhoumin <teczm@foxmail.com> | 2026-10-15 17:41:02 +0800 |
|---|---|---|
| committer | Niklas Cassel <cassel@kernel.org> | 2026-10-15 12:52:58 +0200 |
| commit | 014c29a8e3bdcaad8c6fdfcf1af2fdbbab3fc323 (patch) | |
| tree | 5b662e4a1532ae3dfc3292cda06a61ea18832fbd /samples/workqueue | |
| parent | 4153718a215eeb5bab3df50417bbd9602e84658c (diff) | |
ata: ahci: preserve preset port masks
ahci_get_port_mask() returns zero for absent or unmatched parameters,
overwriting the mask set by the Marvell PATA quirk.
Update the mask in place only when parsing a global value or a matching
device entry. Leave the mask unchanged on parsing errors.
Fixes: 70c1595c181c ("ata: ahci: Allow ignoring the external/hotplug capability of ports")
Suggested-by: Niklas Cassel <cassel@kernel.org>
Signed-off-by: zhoumin <teczm@foxmail.com>
Link: https://lore.kernel.org/r/tencent_26064A115A53E4C6D00433C89E1894E2D808@qq.com
Signed-off-by: Niklas Cassel <cassel@kernel.org>
Diffstat (limited to 'samples/workqueue')
0 files changed, 0 insertions, 0 deletions
