[PATCH OLK-6.6] spi: fix use-after-free on controller registration failure