Thread (8 messages) 8 messages, 3 authors, 2018-05-25

Re: [PATCH 8/9] regulator: bd71837: BD71837 PMIC regulator driver

From: Mark Brown <broonie@kernel.org>
Date: 2018-05-24 17:59:48
Also in: linux-clk, lkml

On Thu, May 24, 2018 at 05:51:27PM +0000, Vaittinen, Matti wrote:
quoted
what is the lock doing and what is this wrapper function intended to do?
This was the other spot which I was unsure how to handle. Datasheet for
the chip says that if voltage is to be changed, the regulator must be
disabled. Thus my voltage changing function checks if regulator is enabled
Ugh, this chip is not very good is it?  Don't bounce the supply to
change the voltage silently, that's clearly a bad idea - the devices
using the supply are going to get very upset when the power gets removed
just because they changed the voltage.  Instead implement a custom set
operation that returns an error if the user attempts to change the
voltage while the regualtor is enabled.

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help