Hi Luiz, > This moves code from hci_suspend_notifier to hci_{suspend,resume}_dev > since some driver may handle pm directly using > HCI_QUIRK_NO_SUSPEND_NOTIFIER they would instead call > hci_{suspend,resume}_dev directly and we want that to have the same > behavior regardless of where pm is being handled. > > Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx> > --- > v2: Clarify why some code is being move into hci_{suspend,resume}_dev and > move debugfs entries to hci_vhci driver so it emulates more closely the > behavior of the driver implementing pm handling and calling the likes of > hci_suspend_dev. > > net/bluetooth/hci_core.c | 116 ++++++++++++++++++++++----------------- > 1 file changed, 67 insertions(+), 49 deletions(-) patch has been applied to bluetooth-next tree. Regards Marcel