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>
Thu, 30 Mar 2023 10:47:53 +0000 (12:47 +0200)
commitd758f543cea229226ce8d1e33e12c53f9bcccd43
tree0e76f1611e4c7311efed32a1a9da51f58e5b42b6
parent0267cd04713371da803b9425ececcd22f98cc2ea
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