wwan: mhi: Fix build.
authorDavid S. Miller <davem@davemloft.net>
Thu, 5 Aug 2021 12:10:50 +0000 (13:10 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Aug 2021 12:10:50 +0000 (13:10 +0100)
Reported-by: Mark Brown <broonie@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/wwan/mhi_wwan_mbim.c

index bb88c38..f37232f 100644 (file)
@@ -608,7 +608,7 @@ static int mhi_mbim_probe(struct mhi_device *mhi_dev, const struct mhi_device_id
        INIT_DELAYED_WORK(&mbim->rx_refill, mhi_net_rx_refill_work);
 
        /* Start MHI channels */
-       err = mhi_prepare_for_transfer(mhi_dev);
+       err = mhi_prepare_for_transfer(mhi_dev, 0);
        if (err)
                return err;