[lkml]   [2020]   [Mar]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRE: [PATCH v2 2/2] scsi: ufs-mediatek: add error recovery for suspend and resume

    > Once fail happens during suspend and resume flow if the desired low
    > power link state is H8, link recovery is required for MediaTek UFS
    > controller.
    > For resume flow, since power and clocks are already enabled before
    > invoking vendor's resume callback, simply using ufshcd_link_recovery()
    > inside callback is fine.
    > For suspend flow, the device power enters low power mode or is disabled
    > before suspend callback, thus ufshcd_link_recovery() can not be directly
    > used in callback. To leverage host reset flow during ufshcd_suspend(),
    > set link as off state enforcedly
    Not sure this is a proper English, but I'm not sure.

    to let ufshcd_host_reset_and_restore()
    > be executed by ufshcd_suspend().
    > Signed-off-by: Stanley Chu <>
    Reviewed-by: Avri Altman <>

     \ /
      Last update: 2020-03-27 10:23    [W:2.923 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site