Re: [PATCH v3 79/80] scsi: ufs: Declare SCSI host template const

Peter Wang (王信友)
2024-01-09T13:04:51Z

> > Hi Bart,
> >
> > This patch change scsi_host_templete to const.
> > If mediatek host want to modify deault rpm_autosuspend_delay timer,
> > could you have any suggestions?
>
> Hi Peter,
>
> Please add a new rpm_autosuspend_delay member to struct Scsi_Host and
> add code
> in scsi_host_alloc() for copying that member from the host template
> into struct
> Scsi_Host. An example is available in commit b125bb99559e.
>
> Bart.

Hi Bart,

I add rpm_autosuspend_delay member to struct Scsi_Host and make it more
simple to modify value, please have a review for it.

Thanks.
Peter