diff options
author | Neeraj Sanjay Kale <neeraj.sanjaykale@nxp.com> | 2025-02-27 23:56:19 +0530 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2025-03-25 12:45:05 -0400 |
commit | 6fca6781d19dfadbc3d96b3c10daf1f2e1239092 (patch) | |
tree | bc680f6d2687f4398c441625e1eccac43ecd145f /net/lapb/lapb_timer.c | |
parent | 07e6bddb54b48e8f187f3baa56fde7f6ddc0edd5 (diff) |
Bluetooth: btnxpuart: Move vendor specific initialization to .post_init
This moves change baudrate and power save vendor commands from
nxp_setup() to nxp_post_init().
This also moves the baudrate restore logic from nxp_serdev_remove() to
nxp_shutdown() which ensure baudrate is restored even when HCI dev is
down, preventing baudrate mismatch between host and controller when
device is probed again next time.
In case of removal when the hdev is up and running, we have to call the
shutdown procedure explicitly before unregistering the hdev.
Signed-off-by: Neeraj Sanjay Kale <neeraj.sanjaykale@nxp.com>
Co-developed-by: Loic Poulain <loic.poulain@linaro.org>
Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions