Re: [PATCH v4 1/8] scsi: ufs: core: Pass target_freq to clk_scale_notify() vop

From: Ziqi Chen
Date: Tue Feb 11 2025 - 05:05:36 EST




On 2/11/2025 11:52 AM, Peter Wang (王信友) wrote:
On Mon, 2025-02-10 at 18:02 +0800, Ziqi Chen wrote:

diff --git a/include/ufs/ufshcd.h b/include/ufs/ufshcd.h
index d7aca9e61684..f51d425696e7 100644
--- a/include/ufs/ufshcd.h
+++ b/include/ufs/ufshcd.h
@@ -344,8 +344,8 @@ struct ufs_hba_variant_ops {
        void    (*exit)(struct ufs_hba *);
        u32     (*get_ufs_hci_version)(struct ufs_hba *);
        int     (*set_dma_mask)(struct ufs_hba *);
-       int     (*clk_scale_notify)(struct ufs_hba *, bool,
-                                   enum ufs_notify_change_status);
+       int (*clk_scale_notify)(struct ufs_hba *, bool, unsigned
long,
+                                                       enum
ufs_notify_change_status);


Hi Ziqi,

Please keep the identation consistent.

Thanks.
Peter

Sure, thank Peter.

-Ziqi




        int     (*setup_clocks)(struct ufs_hba *, bool,
                                enum ufs_notify_change_status);
        int     (*hce_enable_notify)(struct ufs_hba *,
--
2.34.1