Re: [PATCH v2] net: qrtr: mhi: synchronize qrtr and mhi preparation
From: Chris Lew
Date: Mon Jun 16 2025 - 20:30:13 EST
On Mon, Jun 9, 2025 at 4:00 PM Jakub Kicinski <kuba@xxxxxxxxxx> wrote:
>
> On Wed, 04 Jun 2025 14:05:42 -0700 Chris Lew wrote:
> > + rc = qrtr_mhi_queue_rx(qdev);
> > + if (rc) {
> > + qrtr_endpoint_unregister(&qdev->ep);
> > + mhi_unprepare_from_transfer(mhi_dev);
>
> is ignoring the rc here intentional? may be worth a comment
>
Ah no, not intentional. We should return rc here. Will update, thanks!
> > + }
> > +
> > dev_dbg(qdev->dev, "Qualcomm MHI QRTR driver probed\n");
> >
> > return 0;
>
> Note that we return 0 here, not rc
> --
> pw-bot: cr