All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] rockchip: rk8xx: fix broken [np]ldo callbacks
@ 2024-06-05  9:33 Quentin Schulz
  2024-06-05  9:33 ` [PATCH 1/3] regulator: rk8xx: fix incorrect device used for _ldo_[sg]et_suspend_value Quentin Schulz
                   ` (3 more replies)
  0 siblings, 4 replies; 13+ messages in thread
From: Quentin Schulz @ 2024-06-05  9:33 UTC (permalink / raw)
  To: Jaehoon Chung, Tom Rini, Kever Yang; +Cc: Simon Glass, u-boot, Quentin Schulz

This is for master branch, merge ASAP as it's known to break at least
Chromebook Jerry.

@Simon, can you please check that this fixes your CB?

The wrong udevice was passed to the functions, making them call the
pmic callbacks on the parent of the pmic udevice instead of the pmic
udevice itself.

While at it, ensure consistency by having all internal functions use
pmic udevice instead of the regulator udevice.

Finally, clarify operator precedence in ternary condition as reported by
my linter.

Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
---
Quentin Schulz (3):
      regulator: rk8xx: fix incorrect device used for _ldo_[sg]et_suspend_value
      regulator: rk8xx: pass pmic udevice instead of regulator to all internal functions
      regulator: rk8xx: clarify operator precedence

 drivers/power/regulator/rk8xx.c | 54 ++++++++++++++++++++---------------------
 1 file changed, 27 insertions(+), 27 deletions(-)
---
base-commit: c0ea27bccfb7d2d37fd36806ac2a2f7389099420
change-id: 20240605-pmic-rk8xx-52f2286be334

Best regards,
-- 
Quentin Schulz <quentin.schulz@cherry.de>


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2024-06-06 15:04 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-05  9:33 [PATCH 0/3] rockchip: rk8xx: fix broken [np]ldo callbacks Quentin Schulz
2024-06-05  9:33 ` [PATCH 1/3] regulator: rk8xx: fix incorrect device used for _ldo_[sg]et_suspend_value Quentin Schulz
2024-06-06  6:45   ` Kever Yang
2024-06-06 15:04   ` Simon Glass
2024-06-05  9:33 ` [PATCH 2/3] regulator: rk8xx: pass pmic udevice instead of regulator to all internal functions Quentin Schulz
2024-06-06  6:45   ` Kever Yang
2024-06-06 15:04   ` Simon Glass
2024-06-05  9:33 ` [PATCH 3/3] regulator: rk8xx: clarify operator precedence Quentin Schulz
2024-06-05 11:20   ` Mattijs Korpershoek
2024-06-06  6:46   ` Kever Yang
2024-06-06 15:04   ` Simon Glass
2024-06-05 13:11 ` [PATCH 0/3] rockchip: rk8xx: fix broken [np]ldo callbacks Anand Moon
2024-06-05 16:00   ` Quentin Schulz

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.