Re: [PATCH 4/6] Bluetooth: mediatek: pass a pointer to mtk_hci_wmt_sync

2019-02-18 Thread Marcel Holtmann
Hi Sean, > Pass a structure pointer to mtk_hci_wmt_sync rather than several arguments > to avoid take up additional stack area and be better to read the code. > > Signed-off-by: Sean Wang > --- > drivers/bluetooth/btmtkuart.c | 63 ++- > 1 file changed, 48

[PATCH 4/6] Bluetooth: mediatek: pass a pointer to mtk_hci_wmt_sync

2019-02-14 Thread sean.wang
From: Sean Wang Pass a structure pointer to mtk_hci_wmt_sync rather than several arguments to avoid take up additional stack area and be better to read the code. Signed-off-by: Sean Wang --- drivers/bluetooth/btmtkuart.c | 63 ++- 1 file changed, 48