mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 12:58:12 -04:00
Merge "usb: misc: nb7vpq904m: move gpio init before register ucsi callback"
This commit is contained in:
commit
fc5b948019
1 changed files with 2 additions and 2 deletions
|
|
@ -602,6 +602,8 @@ static int redriver_i2c_probe(struct i2c_client *client,
|
|||
return ret;
|
||||
}
|
||||
|
||||
ssusb_redriver_orientation_gpio_init(redriver);
|
||||
|
||||
redriver->panic_nb.notifier_call = ssusb_redriver_panic_notifier;
|
||||
atomic_notifier_chain_register(&panic_notifier_list,
|
||||
&redriver->panic_nb);
|
||||
|
|
@ -609,8 +611,6 @@ static int redriver_i2c_probe(struct i2c_client *client,
|
|||
redriver->ucsi_nb.notifier_call = ssusb_redriver_ucsi_notifier;
|
||||
register_ucsi_glink_notifier(&redriver->ucsi_nb);
|
||||
|
||||
ssusb_redriver_orientation_gpio_init(redriver);
|
||||
|
||||
ssusb_redriver_debugfs_entries(redriver);
|
||||
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue