mirror of
https://github.com/torvalds/linux.git
synced 2024-12-20 18:11:47 +00:00
3ffa9f713c
The ssi_init() returns the platform_driver_register() directly without
checking its return value, if platform_driver_register() failed, the
ssi_pdriver is not unregistered.
Fix by unregister ssi_pdriver when the last platform_driver_register()
failed.
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
omap_ssi_core.c | ||
omap_ssi_port.c | ||
omap_ssi_regs.h | ||
omap_ssi.h |