https://github.com/torvalds/linux
Revision 0d8fb59924cf20e7bef2c41f8d4e87127f573546 authored by Wolfram Sang on 19 February 2015, 16:22:34 UTC, committed by Wolfram Sang on 20 February 2015, 17:01:23 UTC
For, !HAVE_CLK the clk API returns a NULL cookie. Rework the
initialization code to handle that. If clk_get_rate() delivers 0, we use
the fallback mechanisms. The patch is pretty easy when ignoring white
space issues (git diff -b).

Suggested-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Tested-by: Max Filippov <jcmvbkbc@gmail.com>
1 parent b4ad051
History
Tip revision: 0d8fb59924cf20e7bef2c41f8d4e87127f573546 authored by Wolfram Sang on 19 February 2015, 16:22:34 UTC
i2c: ocores: rework clk code to handle NULL cookie
Tip revision: 0d8fb59
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1.1 KB
.mailmap -rw-r--r-- 4.7 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 94.0 KB
Kbuild -rw-r--r-- 2.5 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 291.6 KB
Makefile -rw-r--r-- 53.0 KB
README -rw-r--r-- 18.3 KB
REPORTING-BUGS -rw-r--r-- 7.3 KB

README

back to top