Re: [PATCH 05/14] bus: ti-sysc: Add separate functions for handling clocks

2019-04-03 Thread Tony Lindgren
* Tony Lindgren [190325 22:00]: > Let's also add error handling to shut down already enabled clocks > while at it. ... > --- a/drivers/bus/ti-sysc.c > +++ b/drivers/bus/ti-sysc.c > +err_disable: > + for (; i >= 0; i--) { > + clock = ddata->clocks[i]; > + > + /* Main cl

[PATCH 05/14] bus: ti-sysc: Add separate functions for handling clocks

2019-03-25 Thread Tony Lindgren
At least McPDM module depends on an external optional clock to be usable. To make handling of the McPDM clock easier in the following patches, let's add separate functions for handling the main clocks and the optional clocks. Let's also add error handling to shut down already enabled clocks while