From 96bf40194fdda941ce579be199a9427feee5dffa Mon Sep 17 00:00:00 2001 From: Qipan Li Date: Sun, 3 May 2015 10:30:12 +0000 Subject: [PATCH] spi: sirf: request and free cs gpio in setup and cleanup callbacks move spi controller's gpio request work out from probe() to spi device register stage, so after spi device register spi controller can deactive device's gpio chipselect. old code can't do it because gpio request has not be done until device register is finised in spi_bitbang_start. and add cleanup function to free CS gpio. Signed-off-by: Qipan Li Signed-off-by: Barry Song Signed-off-by: Mark Brown --- Reading git-format-patch failed