@@ -44,11 +44,23 @@ static int ufs_intel_link_startup_notify(struct ufs_hba *hba,
44
44
return err ;
45
45
}
46
46
47
+ static int ufs_intel_ehl_init (struct ufs_hba * hba )
48
+ {
49
+ hba -> quirks |= UFSHCD_QUIRK_BROKEN_AUTO_HIBERN8 ;
50
+ return 0 ;
51
+ }
52
+
47
53
static struct ufs_hba_variant_ops ufs_intel_cnl_hba_vops = {
48
54
.name = "intel-pci" ,
49
55
.link_startup_notify = ufs_intel_link_startup_notify ,
50
56
};
51
57
58
+ static struct ufs_hba_variant_ops ufs_intel_ehl_hba_vops = {
59
+ .name = "intel-pci" ,
60
+ .init = ufs_intel_ehl_init ,
61
+ .link_startup_notify = ufs_intel_link_startup_notify ,
62
+ };
63
+
52
64
#ifdef CONFIG_PM_SLEEP
53
65
/**
54
66
* ufshcd_pci_suspend - suspend power management function
@@ -177,8 +189,8 @@ static const struct dev_pm_ops ufshcd_pci_pm_ops = {
177
189
static const struct pci_device_id ufshcd_pci_tbl [] = {
178
190
{ PCI_VENDOR_ID_SAMSUNG , 0xC00C , PCI_ANY_ID , PCI_ANY_ID , 0 , 0 , 0 },
179
191
{ PCI_VDEVICE (INTEL , 0x9DFA ), (kernel_ulong_t )& ufs_intel_cnl_hba_vops },
180
- { PCI_VDEVICE (INTEL , 0x4B41 ), (kernel_ulong_t )& ufs_intel_cnl_hba_vops },
181
- { PCI_VDEVICE (INTEL , 0x4B43 ), (kernel_ulong_t )& ufs_intel_cnl_hba_vops },
192
+ { PCI_VDEVICE (INTEL , 0x4B41 ), (kernel_ulong_t )& ufs_intel_ehl_hba_vops },
193
+ { PCI_VDEVICE (INTEL , 0x4B43 ), (kernel_ulong_t )& ufs_intel_ehl_hba_vops },
182
194
{ } /* terminate list */
183
195
};
184
196
0 commit comments