On 4/17/2012 11:28 AM, Vinit Kamalaksha SHENOY wrote: > pl022 ssp controller supports word lengths from 4 to 16 bits. > The kernel error message says: > "a standard pl022 can only handle 1 <= n <= 16 bit words". > > Fixed above range to 4 <= n <= 16. > > Signed-off-by: Vinit Shenoy <vinit.she...@st.com> > --- > drivers/spi/spi-pl022.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/drivers/spi/spi-pl022.c b/drivers/spi/spi-pl022.c > index 09c925a..905752f 100644 > --- a/drivers/spi/spi-pl022.c > +++ b/drivers/spi/spi-pl022.c > @@ -1848,7 +1848,7 @@ static int pl022_setup(struct spi_device *spi) > "illegal data size for this controller!\n"); > dev_err(&spi->dev, > "a standard pl022 can only handle " > - "1 <= n <= 16 bit words\n"); > + "4 <= n <= 16 bit words\n"); > status = -ENOTSUPP; > goto err_config_params; > }
Reviewed-by: Viresh Kumar <viresh.ku...@st.com> -- viresh ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev _______________________________________________ spi-devel-general mailing list spi-devel-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/spi-devel-general