Message ID | 20200430190555.32741-7-manivannan.sadhasivam@linaro.org (mailing list archive) |
---|---|
State | Accepted |
Commit | f0e1d3ac2d7c16a5d2c9d67f5a61133db7681af8 |
Headers | show |
Series | MHI fixes for v5.7 | expand |
diff --git a/drivers/bus/mhi/core/main.c b/drivers/bus/mhi/core/main.c index 0cc85753d9d6..a8b5c4846e1c 100644 --- a/drivers/bus/mhi/core/main.c +++ b/drivers/bus/mhi/core/main.c @@ -328,7 +328,8 @@ void mhi_create_devices(struct mhi_controller *mhi_cntrl) /* Channel name is same for both UL and DL */ mhi_dev->chan_name = mhi_chan->name; - dev_set_name(&mhi_dev->dev, "%04x_%s", mhi_chan->chan, + dev_set_name(&mhi_dev->dev, "%s_%s", + dev_name(mhi_cntrl->cntrl_dev), mhi_dev->chan_name); /* Init wakeup source if available */