aboutsummaryrefslogtreecommitdiff
path: root/net/ipv4/tcp_output.c
diff options
context:
space:
mode:
authorStefan Wahren <wahrenst@gmx.net>2024-12-06 19:46:42 +0100
committerJakub Kicinski <kuba@kernel.org>2024-12-09 18:26:48 -0800
commit4dba406fac06b009873fe7a28231b9b7e4288b09 (patch)
tree3debc61940c1ace1fec7c8c2043472ffe893c243 /net/ipv4/tcp_output.c
parent356983f569c1f5991661fc0050aa263792f50616 (diff)
downloadlinux-4dba406fac06b009873fe7a28231b9b7e4288b09.tar.gz
linux-4dba406fac06b009873fe7a28231b9b7e4288b09.tar.bz2
linux-4dba406fac06b009873fe7a28231b9b7e4288b09.zip
qca_spi: Fix clock speed for multiple QCA7000
Storing the maximum clock speed in module parameter qcaspi_clkspeed has the unintended side effect that the first probed instance defines the value for all other instances. Fix this issue by storing it in max_speed_hz of the relevant SPI device. This fix keeps the priority of the speed parameter (module parameter, device tree property, driver default). Btw this uses the opportunity to get the rid of the unused member clkspeed. Fixes: 291ab06ecf67 ("net: qualcomm: new Ethernet over SPI driver for QCA7000") Signed-off-by: Stefan Wahren <wahrenst@gmx.net> Link: https://patch.msgid.link/20241206184643.123399-2-wahrenst@gmx.net Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/ipv4/tcp_output.c')
0 files changed, 0 insertions, 0 deletions