File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -618,6 +618,7 @@ static int cros_usbpd_charger_probe(struct platform_device *pd)
618
618
psy_desc -> external_power_changed =
619
619
cros_usbpd_charger_power_changed ;
620
620
psy_cfg .drv_data = port ;
621
+ psy_cfg .no_wakeup_source = true;
621
622
622
623
if (cros_usbpd_charger_port_is_dedicated (port )) {
623
624
sprintf (port -> name , CHARGER_DEDICATED_DIR_NAME );
@@ -644,8 +645,7 @@ static int cros_usbpd_charger_probe(struct platform_device *pd)
644
645
645
646
psy_desc -> name = port -> name ;
646
647
647
- psy = devm_power_supply_register_no_ws (dev , psy_desc ,
648
- & psy_cfg );
648
+ psy = devm_power_supply_register (dev , psy_desc , & psy_cfg );
649
649
if (IS_ERR (psy )) {
650
650
dev_err (dev , "Failed to register power supply\n" );
651
651
continue ;
You can’t perform that action at this time.
0 commit comments