Skip to content
Commit df7ca2a2 authored by Aymeric Aillet's avatar Aymeric Aillet Committed by Carles Cufí
Browse files

drivers/clock/rcar: Move ASSERT to module clock function



ASSERT was failing when `r8a7795_cpg_mssr_start_stop` was
called for a "core" clock.

This ASSERT statement and "mstpcr" table of registers are
only meant to be used when starting or stopping a "module" clock.

Moved ASSERT statement to `rcar_cpg_mstp_clock_endisable`
as well as "reg" & "bit" calculation.

Signed-off-by: default avatarAymeric Aillet <aymeric.aillet@iot.bzh>
parent 0277682a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment