From: Mark Brown Date: Wed, 26 Jun 2013 15:21:04 +0000 (+0100) Subject: Merge remote-tracking branch 'spi/topic/sirf' into spi-next X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=adb25d5328bc2ca207a49f7b3dad3602a5cad351;p=openwrt%2Fstaging%2Fblogic.git Merge remote-tracking branch 'spi/topic/sirf' into spi-next --- adb25d5328bc2ca207a49f7b3dad3602a5cad351 diff --cc drivers/spi/spi-sirf.c index e262736f9163,e00b437fa2a2..fc20bcfd90c3 --- a/drivers/spi/spi-sirf.c +++ b/drivers/spi/spi-sirf.c @@@ -554,15 -540,8 +538,10 @@@ static int spi_sirfsoc_probe(struct pla sspi->bitbang.txrx_bufs = spi_sirfsoc_transfer; sspi->bitbang.master->setup = spi_sirfsoc_setup; master->bus_num = pdev->id; + master->bits_per_word_mask = SPI_BPW_MASK(8) | SPI_BPW_MASK(12) | + SPI_BPW_MASK(16) | SPI_BPW_MASK(32); sspi->bitbang.master->dev.of_node = pdev->dev.of_node; - sspi->p = pinctrl_get_select_default(&pdev->dev); - ret = IS_ERR(sspi->p); - if (ret) - goto free_master; - sspi->clk = clk_get(&pdev->dev, NULL); if (IS_ERR(sspi->clk)) { ret = -EINVAL;