]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: mt7921s: Fix the incorrect pointer check
authorSean Wang <sean.wang@mediatek.com>
Tue, 22 Mar 2022 23:30:40 +0000 (07:30 +0800)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 13 May 2022 11:05:48 +0000 (13:05 +0200)
commit28db0925b586a3b46d9ff6d0ade10a5b7ab7c4ac
tree948d7ba136ea566fa88d71050d106ba90bc51200
parentb3285f413968509102e2d247c769766320ce3fe7
Bluetooth: mt7921s: Fix the incorrect pointer check

Fix the incorrect pointer check on ven_data.

Fixes: 4d0854baa0e1 ("Bluetooth: mt7921s: Add .btmtk_get_codec_config_data")
Co-developed-by: Yake Yang <yake.yang@mediatek.com>
Signed-off-by: Yake Yang <yake.yang@mediatek.com>
Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/btmtksdio.c