* [PATCH RESEND] scsi: ufs-mediatek: add dependency for RESET_CONTROLLER
@ 2023-07-01 5:23 Randy Dunlap
2023-07-06 1:41 ` Martin K. Petersen
2023-07-11 16:31 ` Martin K. Petersen
0 siblings, 2 replies; 3+ messages in thread
From: Randy Dunlap @ 2023-07-01 5:23 UTC (permalink / raw)
To: linux-kernel
Cc: Randy Dunlap, kernel test robot, Stanley Chu, Peter Wang,
Paul Gazzillo, Necip Fazil Yildiran, linux-scsi, linux-arm-kernel,
linux-mediatek, James E.J. Bottomley, Martin K. Petersen
When RESET_CONTROLLER is not set, kconfig complains about missing
dependencies for RESET_TI_SYSCON, so add the missing dependency
just as is done above for SCSI_UFS_QCOM.
Silences this kconfig warning:
WARNING: unmet direct dependencies detected for RESET_TI_SYSCON
Depends on [n]: RESET_CONTROLLER [=n] && HAS_IOMEM [=y]
Selected by [m]:
- SCSI_UFS_MEDIATEK [=m] && SCSI_UFSHCD [=y] && SCSI_UFSHCD_PLATFORM [=y] && ARCH_MEDIATEK [=y]
Fixes: de48898d0cb6 ("scsi: ufs-mediatek: Create reset control device_link")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Reported-by: kernel test robot <lkp@intel.com>
Link: lore.kernel.org/r/202306020859.1wHg9AaT-lkp@intel.com
Cc: Stanley Chu <stanley.chu@mediatek.com>
Cc: Peter Wang <peter.wang@mediatek.com>
Cc: Paul Gazzillo <paul@pgazz.com>
Cc: Necip Fazil Yildiran <fazilyildiran@gmail.com>
Cc: linux-scsi@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-mediatek@lists.infradead.org
Cc: "James E.J. Bottomley" <jejb@linux.ibm.com>
Cc: "Martin K. Petersen" <martin.petersen@oracle.com>
---
drivers/ufs/host/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff -- a/drivers/ufs/host/Kconfig b/drivers/ufs/host/Kconfig
--- a/drivers/ufs/host/Kconfig
+++ b/drivers/ufs/host/Kconfig
@@ -72,6 +72,7 @@ config SCSI_UFS_QCOM
config SCSI_UFS_MEDIATEK
tristate "Mediatek specific hooks to UFS controller platform driver"
depends on SCSI_UFSHCD_PLATFORM && ARCH_MEDIATEK
+ depends on RESET_CONTROLLER
select PHY_MTK_UFS
select RESET_TI_SYSCON
help
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH RESEND] scsi: ufs-mediatek: add dependency for RESET_CONTROLLER
2023-07-01 5:23 [PATCH RESEND] scsi: ufs-mediatek: add dependency for RESET_CONTROLLER Randy Dunlap
@ 2023-07-06 1:41 ` Martin K. Petersen
2023-07-11 16:31 ` Martin K. Petersen
1 sibling, 0 replies; 3+ messages in thread
From: Martin K. Petersen @ 2023-07-06 1:41 UTC (permalink / raw)
To: Randy Dunlap
Cc: linux-kernel, kernel test robot, Stanley Chu, Peter Wang,
Paul Gazzillo, Necip Fazil Yildiran, linux-scsi, linux-arm-kernel,
linux-mediatek, James E.J. Bottomley, Martin K. Petersen
Randy,
> When RESET_CONTROLLER is not set, kconfig complains about missing
> dependencies for RESET_TI_SYSCON, so add the missing dependency just
> as is done above for SCSI_UFS_QCOM.
Applied to 6.5/scsi-staging, thanks!
--
Martin K. Petersen Oracle Linux Engineering
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH RESEND] scsi: ufs-mediatek: add dependency for RESET_CONTROLLER
2023-07-01 5:23 [PATCH RESEND] scsi: ufs-mediatek: add dependency for RESET_CONTROLLER Randy Dunlap
2023-07-06 1:41 ` Martin K. Petersen
@ 2023-07-11 16:31 ` Martin K. Petersen
1 sibling, 0 replies; 3+ messages in thread
From: Martin K. Petersen @ 2023-07-11 16:31 UTC (permalink / raw)
To: linux-kernel, Randy Dunlap
Cc: Martin K . Petersen, kernel test robot, Stanley Chu, Peter Wang,
Paul Gazzillo, Necip Fazil Yildiran, linux-scsi, linux-arm-kernel,
linux-mediatek, James E.J. Bottomley
On Fri, 30 Jun 2023 22:23:48 -0700, Randy Dunlap wrote:
> When RESET_CONTROLLER is not set, kconfig complains about missing
> dependencies for RESET_TI_SYSCON, so add the missing dependency
> just as is done above for SCSI_UFS_QCOM.
>
> Silences this kconfig warning:
>
> WARNING: unmet direct dependencies detected for RESET_TI_SYSCON
> Depends on [n]: RESET_CONTROLLER [=n] && HAS_IOMEM [=y]
> Selected by [m]:
> - SCSI_UFS_MEDIATEK [=m] && SCSI_UFSHCD [=y] && SCSI_UFSHCD_PLATFORM [=y] && ARCH_MEDIATEK [=y]
>
> [...]
Applied to 6.5/scsi-fixes, thanks!
[1/1] scsi: ufs-mediatek: add dependency for RESET_CONTROLLER
https://git.kernel.org/mkp/scsi/c/89f7ef7f2b23
--
Martin K. Petersen Oracle Linux Engineering
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-07-11 16:32 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-01 5:23 [PATCH RESEND] scsi: ufs-mediatek: add dependency for RESET_CONTROLLER Randy Dunlap
2023-07-06 1:41 ` Martin K. Petersen
2023-07-11 16:31 ` Martin K. Petersen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).