diff options
| author | Wolfram Sang <[email protected]> | 2015-02-19 16:22:34 +0000 |
|---|---|---|
| committer | Wolfram Sang <[email protected]> | 2015-02-20 17:01:23 +0000 |
| commit | 0d8fb59924cf20e7bef2c41f8d4e87127f573546 (patch) | |
| tree | 9674de914ac8c29d1c17c65ea93fbe2983b4900a /lib/lockref.c | |
| parent | i2c: designware-baytrail: another fixup for proper Kconfig dependencies (diff) | |
| download | kernel-0d8fb59924cf20e7bef2c41f8d4e87127f573546.tar.gz kernel-0d8fb59924cf20e7bef2c41f8d4e87127f573546.zip | |
i2c: ocores: rework clk code to handle NULL cookie
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 <[email protected]>
Signed-off-by: Wolfram Sang <[email protected]>
Tested-by: Max Filippov <[email protected]>
Diffstat (limited to 'lib/lockref.c')
0 files changed, 0 insertions, 0 deletions
