merged to both v5.12/standard/xlnx-soc and standard/xlnx-soc (since I didn't clobber it when generating 5.13 branches).
Bruce In message: [linux-yocto][linux-yocto-dev standard/xlnx-soc] drm: xlnx: zynqmp_dp: fix wrong usage of zynqmp_dp_write on 03/06/2021 [email protected] wrote: > From: Quanyang Wang <[email protected]> > > The mainline zynqmp_dp driver use "dp" as the first parameter of > zynqmp_dp_write but the SDK driver use "dp->iomem". Let's correct > it to avoid unpredictable error. > > Signed-off-by: Quanyang Wang <[email protected]> > --- > drivers/gpu/drm/xlnx/zynqmp_dp.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/xlnx/zynqmp_dp.c > b/drivers/gpu/drm/xlnx/zynqmp_dp.c > index 09fdb48cd03a..484dd54bdaea 100644 > --- a/drivers/gpu/drm/xlnx/zynqmp_dp.c > +++ b/drivers/gpu/drm/xlnx/zynqmp_dp.c > @@ -905,7 +905,7 @@ static int zynqmp_dp_train(struct zynqmp_dp *dp) > if (ret < 0) > return ret; > > - zynqmp_dp_write(dp, ZYNQMP_DP_TX_SCRAMBLING_DISABLE, 1); > + zynqmp_dp_write(dp->iomem, ZYNQMP_DP_TX_SCRAMBLING_DISABLE, 1); > memset(dp->train_set, 0, sizeof(dp->train_set)); > ret = zynqmp_dp_link_train_cr(dp); > if (ret) > -- > 2.25.1 >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#9940): https://lists.yoctoproject.org/g/linux-yocto/message/9940 Mute This Topic: https://lists.yoctoproject.org/mt/83276069/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
