Re: [PATCH] scsi: ufs: Remove select of phy-qcom-ufs from ufs-qcom
From: Evan Green
Date: Mon Jan 14 2019 - 13:42:26 EST
On Mon, Jan 14, 2019 at 9:08 AM Doug Anderson <dianders@xxxxxxxxxxxx> wrote:
>
> Hi,
>
> On Fri, Jan 11, 2019 at 7:37 PM Martin K. Petersen
> <martin.petersen@xxxxxxxxxx> wrote:
> >
> >
> > Evan,
> >
> > > CONFIG_SCSI_UFS_QCOM selects CONFIG_PHY_QCOM_UFS, assuming that
> > > this was the only possible PHY driver Qualcomm's UFS controller
> > > would use. But in SDM845, the UFS driver is bundled into phy-qcom-qmp,
> > > and phy-qcom-ufs is unused.
> > >
> > > Remove the select, since for SDM845 it adds useless drivers to the
> > > build.
> >
> > Applied to 5.1/scsi-queue.
>
> Should this be accompanied by a change to arch/arm64/configs/defconfig
> that sets 'CONFIG_PHY_QCOM_UFS=m'? I don't personally have any
> non-SDM845 devices to test on, but I'm sorta assuming they will all
> break without the defconfig update?
Right, thanks for pointing that out. I'll send out another patch to
tweak the defconfig.
-Evan