Commit a8acb2bd authored by Nicolas Boichat's avatar Nicolas Boichat Committed by Greg Kroah-Hartman

Bluetooth: hci_h5: Set HCI_UART_RESET_ON_INIT to correct flags

[ Upstream commit a7ad4b61 ]

HCI_UART_RESET_ON_INIT belongs in hdev_flags, not flags.

Fixes: ce945552 ("Bluetooth: hci_h5: Add support for serdev enumerated devices")
Signed-off-by: default avatarNicolas Boichat <drinkcat@chromium.org>
Reviewed-by: default avatarHans de Goede <hdegoede@redhat.com>
Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 6b03a2a3
...@@ -803,7 +803,7 @@ static int h5_serdev_probe(struct serdev_device *serdev) ...@@ -803,7 +803,7 @@ static int h5_serdev_probe(struct serdev_device *serdev)
if (!h5) if (!h5)
return -ENOMEM; return -ENOMEM;
set_bit(HCI_UART_RESET_ON_INIT, &h5->serdev_hu.flags); set_bit(HCI_UART_RESET_ON_INIT, &h5->serdev_hu.hdev_flags);
h5->hu = &h5->serdev_hu; h5->hu = &h5->serdev_hu;
h5->serdev_hu.serdev = serdev; h5->serdev_hu.serdev = serdev;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment