Commit ff40f31
scsi: ufs: host: mediatek: Add clock scaling query function
Introduce a clock scaling readiness query function to streamline the
process of checking clock scaling parameters. This function simplifies
the code by encapsulating the logic for determining if clock scaling is
ready.
Signed-off-by: Peter Wang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Chun-Hung Wu <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>1 parent 7996746 commit ff40f31
1 file changed
+11
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
144 | 154 | | |
145 | 155 | | |
146 | 156 | | |
| |||
922 | 932 | | |
923 | 933 | | |
924 | 934 | | |
925 | | - | |
926 | 935 | | |
927 | 936 | | |
928 | 937 | | |
| |||
944 | 953 | | |
945 | 954 | | |
946 | 955 | | |
947 | | - | |
948 | | - | |
| 956 | + | |
949 | 957 | | |
950 | 958 | | |
951 | 959 | | |
| |||
0 commit comments