]> git.karo-electronics.de Git - linux-beck.git/commit
spi/fsl-espi: Make sure pm is within 2..32
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Thu, 15 Mar 2012 17:42:32 +0000 (18:42 +0100)
committerGrant Likely <grant.likely@secretlab.ca>
Thu, 15 Mar 2012 21:14:24 +0000 (15:14 -0600)
commit87bf5ab82884c829366914aaa813cc8b07b9fe58
tree6f42d875a90bddeb6f1250d967fd9065cbda9cb0
parent35faa55cff56441477973e454f62408714f35cd3
spi/fsl-espi: Make sure pm is within 2..32

The reference manual says that pm has to stay within 2 and 32. So the
lowest frequency is 32 and DIV16 set, the highest is 2 and DIV16 unset.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/spi/spi-fsl-espi.c