In cec_devnode_init(), the debugfs directory created with
debugfs_create_dir() is not removed if bus_register() fails.
This leaves a stale "cec" entry in debugfs and prevents
proper module reloading.
Fix this by removing the debugfs directory in the error path.
Fixes:
|
||
|---|---|---|
| .. | ||
| core | ||
| i2c | ||
| platform | ||
| usb | ||
| Kconfig | ||
| Makefile | ||