Re: [PATCH] Bluetooth: btqcomsmd: Fix channel open check

2018-03-04 Thread Bjorn Andersson
On Tue 27 Feb 22:25 PST 2018, Marcel Holtmann wrote: > > btq->cmd_channel = qcom_wcnss_open_channel(wcnss, "APPS_RIVA_BT_CMD", > >btqcomsmd_cmd_callback, btq); > > - if (IS_ERR(btq->cmd_channel)) > > - return PTR_ERR(btq->cmd_channel);

Re: [PATCH] Bluetooth: btqcomsmd: Fix channel open check

2018-02-27 Thread Marcel Holtmann
Hi Bjorn, > rpmsg_create_ept() returns NULL on error and as such > qcom_wcnss_open_channel() does the same. Clarify this in the > kernel-doc and correct the error checks in btqcomsmd. > > Fixes: 1511cc750c3d ("Bluetooth: Introduce Qualcomm WCNSS SMD based HCI > driver") > Cc: sta...@vger.kernel.