diff options
| author | Longbin Li <looong.bin@gmail.com> | 2025-11-17 17:05:39 +0800 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2025-11-18 23:15:11 +0000 |
| commit | d9813cd23d5a7b254cc1b1c1ea042634d8da62e6 (patch) | |
| tree | b2842ce384d6ca0f0ead47944371c73c194509c2 /tools/lib/python/abi/abi_regex.py | |
| parent | bd79452b39c21599e2cff42e9fbeb182656b6f6a (diff) | |
spi: sophgo: Fix incorrect use of bus width value macros
The previous code initialized the 'reg' value with specific bus-width
values (BUS_WIDTH_2_BIT and BUS_WIDTH_4_BIT), which introduces ambiguity.
Replace them with BUS_WIDTH_MASK to express the intention clearly.
Fixes: de16c322eefb ("spi: sophgo: add SG2044 SPI NOR controller driver")
Signed-off-by: Longbin Li <looong.bin@gmail.com>
Link: https://patch.msgid.link/20251117090559.78288-1-looong.bin@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/lib/python/abi/abi_regex.py')
0 files changed, 0 insertions, 0 deletions
