Dear Marek Vasut, [...] > -out_host_free: > +out_free_dma: > + dma_release_channel(ssp->dmach); > clk_disable_unprepare(ssp->clk); > +out_host_free: > spi_master_put(host); > kfree(host); > + Please remove this newline. > return ret; > } Missing dma_release_channel() in .remove! Best regards, Marek Vasut