[PATCH 4.9 047/171] spi: img-spfi: fix potential double release