All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] regulator: bd71815: add select to fix build
@ 2021-05-23  0:14 Randy Dunlap
  2021-05-24  5:30 ` Vaittinen, Matti
  2021-05-24 11:59 ` Mark Brown
  0 siblings, 2 replies; 3+ messages in thread
From: Randy Dunlap @ 2021-05-23  0:14 UTC (permalink / raw)
  To: linux-kernel
  Cc: Randy Dunlap, Matti Vaittinen, Lee Jones, Mark Brown, Liam Girdwood

Mend the Kconfig for REGULATOR_BD71815 to prevent build errors:

riscv32-linux-ld: drivers/regulator/bd71815-regulator.o: in function `.L0 ':
regulator.c:289: undefined reference to `rohm_regulator_set_dvs_levels'
riscv32-linux-ld: drivers/regulator/bd71815-regulator.c:370: undefined reference to `rohm_regulator_set_dvs_levels'

Fixes: 1aad39001e85 ("regulator: Support ROHM BD71815 regulators")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
Cc: Lee Jones <lee.jones@linaro.org>
Cc: Mark Brown <broonie@kernel.org>
Cc: Liam Girdwood <lgirdwood@gmail.com>
---
 drivers/regulator/Kconfig |    1 +
 1 file changed, 1 insertion(+)

--- linux-next-20210521.orig/drivers/regulator/Kconfig
+++ linux-next-20210521/drivers/regulator/Kconfig
@@ -207,6 +207,7 @@ config REGULATOR_BD70528
 config REGULATOR_BD71815
 	tristate "ROHM BD71815 Power Regulator"
 	depends on MFD_ROHM_BD71828
+	select REGULATOR_ROHM
 	help
 	  This driver supports voltage regulators on ROHM BD71815 PMIC.
 	  This will enable support for the software controllable buck

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

* Re: [PATCH] regulator: bd71815: add select to fix build
  2021-05-23  0:14 [PATCH] regulator: bd71815: add select to fix build Randy Dunlap
@ 2021-05-24  5:30 ` Vaittinen, Matti
  2021-05-24 11:59 ` Mark Brown
  1 sibling, 0 replies; 3+ messages in thread
From: Vaittinen, Matti @ 2021-05-24  5:30 UTC (permalink / raw)
  To: rdunlap, linux-kernel; +Cc: lgirdwood, broonie, lee.jones


On Sat, 2021-05-22 at 17:14 -0700, Randy Dunlap wrote:
> Mend the Kconfig for REGULATOR_BD71815 to prevent build errors:
> 
> riscv32-linux-ld: drivers/regulator/bd71815-regulator.o: in function
> `.L0 ':
> regulator.c:289: undefined reference to
> `rohm_regulator_set_dvs_levels'
> riscv32-linux-ld: drivers/regulator/bd71815-regulator.c:370:
> undefined reference to `rohm_regulator_set_dvs_levels'
> 
> Fixes: 1aad39001e85 ("regulator: Support ROHM BD71815 regulators")
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> Cc: Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
> Cc: Lee Jones <lee.jones@linaro.org>
> Cc: Mark Brown <broonie@kernel.org>
> Cc: Liam Girdwood <lgirdwood@gmail.com>
> ---
Reviewed-by: Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>

Thank you (again) for fixing this Randy.
I am quite sure this is not the first time I see this patch. As far as
I remember few fixes were sent during last development cycle by Randy
and Arnd - but I think they were not merged because commits they fixed
were not yet in regulator tree.

I could go through those and resend them if they are missing - but is
there a way to do that while giving the credit to original authors?

>  drivers/regulator/Kconfig |    1 +
>  1 file changed, 1 insertion(+)
> 
> --- linux-next-20210521.orig/drivers/regulator/Kconfig
> +++ linux-next-20210521/drivers/regulator/Kconfig
> @@ -207,6 +207,7 @@ config REGULATOR_BD70528
>  config REGULATOR_BD71815
>  	tristate "ROHM BD71815 Power Regulator"
>  	depends on MFD_ROHM_BD71828
> +	select REGULATOR_ROHM
>  	help
>  	  This driver supports voltage regulators on ROHM BD71815 PMIC.
>  	  This will enable support for the software controllable buck


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

* Re: [PATCH] regulator: bd71815: add select to fix build
  2021-05-23  0:14 [PATCH] regulator: bd71815: add select to fix build Randy Dunlap
  2021-05-24  5:30 ` Vaittinen, Matti
@ 2021-05-24 11:59 ` Mark Brown
  1 sibling, 0 replies; 3+ messages in thread
From: Mark Brown @ 2021-05-24 11:59 UTC (permalink / raw)
  To: linux-kernel, Randy Dunlap
  Cc: Mark Brown, Matti Vaittinen, Lee Jones, Liam Girdwood

On Sat, 22 May 2021 17:14:27 -0700, Randy Dunlap wrote:
> Mend the Kconfig for REGULATOR_BD71815 to prevent build errors:
> 
> riscv32-linux-ld: drivers/regulator/bd71815-regulator.o: in function `.L0 ':
> regulator.c:289: undefined reference to `rohm_regulator_set_dvs_levels'
> riscv32-linux-ld: drivers/regulator/bd71815-regulator.c:370: undefined reference to `rohm_regulator_set_dvs_levels'

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next

Thanks!

[1/1] regulator: bd71815: add select to fix build
      commit: 5ba3747dbc9ade2d22a8f5bff3c928cb41d35030

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

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

end of thread, other threads:[~2021-05-24 12:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-23  0:14 [PATCH] regulator: bd71815: add select to fix build Randy Dunlap
2021-05-24  5:30 ` Vaittinen, Matti
2021-05-24 11:59 ` Mark Brown

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.