hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
kernel/drivers/usb/typec/tps6598x.c
....@@ -564,7 +564,6 @@
564564 ret = PTR_ERR(tps->port);
565565 goto err_role_put;
566566 }
567
- fwnode_handle_put(fwnode);
568567
569568 if (status & TPS_STATUS_PLUG_PRESENT) {
570569 ret = tps6598x_connect(tps, status);
....@@ -583,6 +582,7 @@
583582 }
584583
585584 i2c_set_clientdata(client, tps);
585
+ fwnode_handle_put(fwnode);
586586
587587 return 0;
588588