]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: ufs: core: Add soft dependency on governor_simpleondemand
authorAdrien Thierry <athierry@redhat.com>
Mon, 20 Feb 2023 14:07:40 +0000 (09:07 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Apr 2023 09:16:39 +0000 (11:16 +0200)
commit0086c9f4f5cdc8ebf5254964a0799095cac9c432
tree827755deb6307d0caa356a67c66ff0db7ead962e
parent5a529d67350ab79d5c90ed54b8e5b1f68f537293
scsi: ufs: core: Add soft dependency on governor_simpleondemand

[ Upstream commit 2ebe16155dc8bd4e602cad5b5f65458d2eaa1a75 ]

The ufshcd driver uses simpleondemand governor for devfreq. Add it to the
list of ufshcd softdeps to allow userspace initramfs tools like dracut to
automatically pull the governor module into the initramfs together with UFS
drivers.

Link: https://lore.kernel.org/r/20230220140740.14379-1-athierry@redhat.com
Signed-off-by: Adrien Thierry <athierry@redhat.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/scsi/ufs/ufshcd.c