Thread (1 message) 1 message, 1 author, 2025-07-24

Re: [PATCH 00/72] media: i2c: Reduce cargo-cult

From: Mark Brown <broonie@kernel.org>
Date: 2025-07-24 13:37:29
Also in: imx, linux-arm-msm, linux-media, linux-omap, linux-renesas-soc, linux-samsung-soc

On Thu, Jul 24, 2025 at 01:24:24PM +0000, Tarang Raval wrote:
quoted
quoted
2. In the regulator code, you can reduce boilerplate by using
   devm_regulator_bulk_get_enable().
quoted
devm_regulator_bulk_get_enable() doesn't seem to be a good idea. You
generally don't want to enable power everywhere unconditionally, and
sensors very often need a guaranteed power up sequence.
The regulators are optional, we supply power to the camera sensor directly
through dedicated power rails and there is no strict enable sequence
required in this case.
Those dedicated power rails getting their power from....

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