]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
Blackfin: bfin_spi: round up clock divider
authorCliff Cai <cliff.cai@analog.com>
Mon, 7 Dec 2009 08:03:06 +0000 (08:03 +0000)
committerMike Frysinger <vapier@gentoo.org>
Sun, 17 Jan 2010 14:17:27 +0000 (09:17 -0500)
commit581d92eefc1a060ea5c6eb42028880a37095953d
tree918445f57f9b6baeb4ee9469897cde6acdf7751a
parenta52ad4f99486ce3f404f83f75263e321956bb6d5
Blackfin: bfin_spi: round up clock divider

If the requested clock cannot be exactly obtained, round it up so that we
err on the side of slightly slower rather than slightly faster.

Signed-off-by: Cliff Cai <cliff.cai@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
drivers/spi/bfin_spi.c