@@ -211,32 +211,6 @@ static int ufs_intel_lkf_apply_dev_quirks(struct ufs_hba *hba)
211
211
return ret ;
212
212
}
213
213
214
- static void ufs_intel_ctrl_uic_compl (struct ufs_hba * hba , bool enable )
215
- {
216
- u32 set = ufshcd_readl (hba , REG_INTERRUPT_ENABLE );
217
-
218
- if (enable )
219
- set |= UIC_COMMAND_COMPL ;
220
- else
221
- set &= ~UIC_COMMAND_COMPL ;
222
- ufshcd_writel (hba , set , REG_INTERRUPT_ENABLE );
223
- }
224
-
225
- static void ufs_intel_mtl_h8_notify (struct ufs_hba * hba ,
226
- enum uic_cmd_dme cmd ,
227
- enum ufs_notify_change_status status )
228
- {
229
- /*
230
- * Disable UIC COMPL INTR to prevent access to UFSHCI after
231
- * checking HCS.UPMCRS
232
- */
233
- if (status == PRE_CHANGE && cmd == UIC_CMD_DME_HIBER_ENTER )
234
- ufs_intel_ctrl_uic_compl (hba , false);
235
-
236
- if (status == POST_CHANGE && cmd == UIC_CMD_DME_HIBER_EXIT )
237
- ufs_intel_ctrl_uic_compl (hba , true);
238
- }
239
-
240
214
#define INTEL_ACTIVELTR 0x804
241
215
#define INTEL_IDLELTR 0x808
242
216
@@ -549,7 +523,6 @@ static struct ufs_hba_variant_ops ufs_intel_mtl_hba_vops = {
549
523
.init = ufs_intel_mtl_init ,
550
524
.exit = ufs_intel_common_exit ,
551
525
.hce_enable_notify = ufs_intel_hce_enable_notify ,
552
- .hibern8_notify = ufs_intel_mtl_h8_notify ,
553
526
.link_startup_notify = ufs_intel_link_startup_notify ,
554
527
.resume = ufs_intel_resume ,
555
528
.device_reset = ufs_intel_device_reset ,
0 commit comments