Re: [PATCH v3 3/4] usb: typec: fusb302: Fix debugfs issue

2018-05-24 Thread Guenter Roeck
On 05/24/2018 01:18 AM, Heikki Krogerus wrote: Removing the "fusb302" debugfs directory when unloading the driver. That allows the driver to be loaded more then one time. The directory will not get actually removed until it is empty, so only after the last instance has been removed. This fixes

[PATCH v3 3/4] usb: typec: fusb302: Fix debugfs issue

2018-05-24 Thread Heikki Krogerus
Removing the "fusb302" debugfs directory when unloading the driver. That allows the driver to be loaded more then one time. The directory will not get actually removed until it is empty, so only after the last instance has been removed. This fixes an issue where the driver can't be re-loaded if