Revision 5d1d150d7d775db1dccb4dc4676075d456dea392 authored by Doug Anderson on 28 August 2014, 23:43:48 UTC, committed by Mark Brown on 29 August 2014, 11:07:38 UTC
If our client is requesting a clock that is above the maximum clock then the following division will result in 0: rs->max_freq / rs->speed We'll then program 0 into the SPI_BAUDR register. The Rockchip TRM says: "If the value is 0, the serial output clock (sclk_out) is disabled." It's much better to end up with the fastest possible clock rather than a clock that is off, so enforce a minimum value. Signed-off-by: Doug Anderson <dianders@chromium.org> Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 0ac7a49
File | Mode | Size |
---|---|---|
tests | ||
Kconfig | -rw-r--r-- | 2.9 KB |
Makefile | -rw-r--r-- | 880 bytes |
acl.c | -rw-r--r-- | 3.7 KB |
async-thread.c | -rw-r--r-- | 8.2 KB |
async-thread.h | -rw-r--r-- | 1.7 KB |
backref.c | -rw-r--r-- | 48.5 KB |
backref.h | -rw-r--r-- | 2.6 KB |
btrfs_inode.h | -rw-r--r-- | 7.3 KB |
check-integrity.c | -rw-r--r-- | 99.8 KB |
check-integrity.h | -rw-r--r-- | 1.3 KB |
compression.c | -rw-r--r-- | 27.3 KB |
compression.h | -rw-r--r-- | 2.7 KB |
ctree.c | -rw-r--r-- | 152.4 KB |
ctree.h | -rw-r--r-- | 132.4 KB |
delayed-inode.c | -rw-r--r-- | 51.4 KB |
delayed-inode.h | -rw-r--r-- | 4.8 KB |
delayed-ref.c | -rw-r--r-- | 25.4 KB |
delayed-ref.h | -rw-r--r-- | 7.7 KB |
dev-replace.c | -rw-r--r-- | 28.8 KB |
dev-replace.h | -rw-r--r-- | 1.8 KB |
dir-item.c | -rw-r--r-- | 13.1 KB |
disk-io.c | -rw-r--r-- | 112.5 KB |
disk-io.h | -rw-r--r-- | 5.6 KB |
export.c | -rw-r--r-- | 7.5 KB |
export.h | -rw-r--r-- | 301 bytes |
extent-tree.c | -rw-r--r-- | 254.0 KB |
extent_io.c | -rw-r--r-- | 135.0 KB |
extent_io.h | -rw-r--r-- | 13.1 KB |
extent_map.c | -rw-r--r-- | 11.7 KB |
extent_map.h | -rw-r--r-- | 2.4 KB |
file-item.c | -rw-r--r-- | 26.2 KB |
file.c | -rw-r--r-- | 70.2 KB |
free-space-cache.c | -rw-r--r-- | 79.9 KB |
free-space-cache.h | -rw-r--r-- | 4.5 KB |
hash.c | -rw-r--r-- | 1.1 KB |
hash.h | -rw-r--r-- | 1.2 KB |
inode-item.c | -rw-r--r-- | 11.7 KB |
inode-map.c | -rw-r--r-- | 14.0 KB |
inode-map.h | -rw-r--r-- | 455 bytes |
inode.c | -rw-r--r-- | 239.7 KB |
ioctl.c | -rw-r--r-- | 129.2 KB |
locking.c | -rw-r--r-- | 7.6 KB |
locking.h | -rw-r--r-- | 2.0 KB |
lzo.c | -rw-r--r-- | 9.9 KB |
math.h | -rw-r--r-- | 1.1 KB |
ordered-data.c | -rw-r--r-- | 28.8 KB |
ordered-data.h | -rw-r--r-- | 6.5 KB |
orphan.c | -rw-r--r-- | 1.7 KB |
print-tree.c | -rw-r--r-- | 10.7 KB |
print-tree.h | -rw-r--r-- | 906 bytes |
props.c | -rw-r--r-- | 9.7 KB |
props.h | -rw-r--r-- | 1.3 KB |
qgroup.c | -rw-r--r-- | 70.7 KB |
qgroup.h | -rw-r--r-- | 4.3 KB |
raid56.c | -rw-r--r-- | 50.5 KB |
raid56.h | -rw-r--r-- | 1.7 KB |
rcu-string.h | -rw-r--r-- | 1.5 KB |
reada.c | -rw-r--r-- | 24.6 KB |
relocation.c | -rw-r--r-- | 109.3 KB |
root-tree.c | -rw-r--r-- | 12.6 KB |
scrub.c | -rw-r--r-- | 93.0 KB |
send.c | -rw-r--r-- | 132.7 KB |
send.h | -rw-r--r-- | 2.9 KB |
struct-funcs.c | -rw-r--r-- | 4.5 KB |
super.c | -rw-r--r-- | 53.2 KB |
sysfs.c | -rw-r--r-- | 19.3 KB |
sysfs.h | -rw-r--r-- | 2.5 KB |
transaction.c | -rw-r--r-- | 54.3 KB |
transaction.h | -rw-r--r-- | 5.8 KB |
tree-defrag.c | -rw-r--r-- | 3.3 KB |
tree-log.c | -rw-r--r-- | 115.7 KB |
tree-log.h | -rw-r--r-- | 2.7 KB |
ulist.c | -rw-r--r-- | 6.2 KB |
ulist.h | -rw-r--r-- | 2.0 KB |
uuid-tree.c | -rw-r--r-- | 8.1 KB |
volumes.c | -rw-r--r-- | 163.9 KB |
volumes.h | -rw-r--r-- | 11.6 KB |
xattr.c | -rw-r--r-- | 11.5 KB |
xattr.h | -rw-r--r-- | 1.5 KB |
zlib.c | -rw-r--r-- | 10.4 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...