File tree Expand file tree Collapse file tree 3 files changed +5
-1
lines changed
drivers/platform/x86/amd/pmc Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -235,6 +235,9 @@ void amd_pmc_quirks_init(struct amd_pmc_dev *dev)
235
235
{
236
236
const struct dmi_system_id * dmi_id ;
237
237
238
+ if (dev -> cpu_id == AMD_CPU_ID_CZN )
239
+ dev -> disable_8042_wakeup = true;
240
+
238
241
dmi_id = dmi_first_match (fwbug_list );
239
242
if (!dmi_id )
240
243
return ;
Original file line number Diff line number Diff line change @@ -930,7 +930,7 @@ static int amd_pmc_suspend_handler(struct device *dev)
930
930
{
931
931
struct amd_pmc_dev * pdev = dev_get_drvdata (dev );
932
932
933
- if (pdev -> cpu_id == AMD_CPU_ID_CZN && !disable_workarounds ) {
933
+ if (pdev -> disable_8042_wakeup && !disable_workarounds ) {
934
934
int rc = amd_pmc_wa_irq1 (pdev );
935
935
936
936
if (rc ) {
Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ struct amd_pmc_dev {
36
36
struct mutex lock ; /* generic mutex lock */
37
37
struct dentry * dbgfs_dir ;
38
38
struct quirk_entry * quirks ;
39
+ bool disable_8042_wakeup ;
39
40
};
40
41
41
42
void amd_pmc_process_restore_quirks (struct amd_pmc_dev * dev );
You can’t perform that action at this time.
0 commit comments