]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
Bluetooth: qca: simplify WCN399x NVM loading
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Fri, 7 Feb 2025 20:41:16 +0000 (22:41 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 25 Apr 2025 08:45:17 +0000 (10:45 +0200)
commitfb95ab35d0e114a744416747ce081ae380d67cfc
treeae1423fc40c7cd4ed604d04f1ca9a8260da7dfb0
parent806464634e7fc6b523160defeeddb1ade2a72f81
Bluetooth: qca: simplify WCN399x NVM loading

[ Upstream commit 1cc41b5092e3aa511454ec882c525af311bee631 ]

The WCN399x code has two separate cases for loading the NVM data. In
preparation to adding support for WCN3950, which also requires similar
quirk, split the "variant" to be specified explicitly and merge two
snprintfs into a single one.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/bluetooth/btqca.c