Re: [PATCH 1/3] clk: sunxi: Add a driver for the CCU

Jean-Francois Moine
2016-07-01T06:04:00Z

On Thu, 30 Jun 2016 23:16:35 +0200
Maxime Ripard <maxime.ripard@free-electrons.com> wrote:

> > - in case a driver requests a reset, this last one should exist.
> > But, this reset may point to a void one (reg =3D null) when the real
> > reset has been moved to the prepare/unprepare of the associated clock.
>=20
> And what if this driver wants to be reset, by calling
> reset_control_reset? You realize you're going against the semantics of
> the reset and clock APIs, and what the hardware expose here right?

If a driver really wants a reset, the reset stuff is not included in
the clock prepare.

--=20
Ken ar c'henta=F1 | ** Breizh ha Linux atav! **
Jef | http://moinejf.free.fr/