diff options
author | Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se> | 2018-11-29 01:15:38 +0100 |
---|---|---|
committer | Geert Uytterhoeven <geert+renesas@glider.be> | 2018-12-07 11:45:00 +0100 |
commit | ecda0a09fa9933bcd67e33c952f778f0872392ed (patch) | |
tree | 5ef48c003797bc5ea05ffbc0e1a3397085bec08c /drivers/tty/n_null.c | |
parent | c0f8584f0553f3e7b37270d203b3ad8fc7bd1262 (diff) |
clk: renesas: rcar-gen3: Set state when registering SD clocks
The driver tries to figure out which state a SD clock is in when the
clock is registered, instead of setting a known state. This can be
problematic for two reasons.
1. If the clock driver can't figure out the state of the clock,
registration of the clock fails, and setting of a known state by a
clock user is not possible.
2. The state of the clock depends on if and how the bootloader
configured it. The driver only checks that the rate is known, not if
the clock is stopped or not for example.
Fix this by setting a known state and making sure the clock is stopped.
Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Tested-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Acked-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Diffstat (limited to 'drivers/tty/n_null.c')
0 files changed, 0 insertions, 0 deletions