All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] power: reset: Add MFD_SYSCON depends for brcmstb
@ 2015-04-30 19:55 Florian Fainelli
  2015-05-01 20:54 ` Sebastian Reichel
  0 siblings, 1 reply; 2+ messages in thread
From: Florian Fainelli @ 2015-04-30 19:55 UTC (permalink / raw)
  To: linux-kernel
  Cc: linux-pm, dwmw2, dbaryshkov, sre, computersforpeace,
	bcm-kernel-feedback-list, Florian Fainelli

The Broadcom STB reboot driver depends on MFD_SYSCON, it uses
syscon_regmap_lookup_by_phandle() which will not lookup syscon phandles
if MFD_SYSCON is disabled, and instead will return -ENOSYS since it is
turned into an inline stub.

Fixes: 030494e75064c ("power: reset: Add reboot driver for brcmstb")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
---
Sebastian,

Could you queue this as a fix for 4.1? Thanks!

 drivers/power/reset/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/power/reset/Kconfig b/drivers/power/reset/Kconfig
index 028e76504519..f37135c312fd 100644
--- a/drivers/power/reset/Kconfig
+++ b/drivers/power/reset/Kconfig
@@ -41,6 +41,7 @@ config POWER_RESET_AXXIA
 config POWER_RESET_BRCMSTB
 	bool "Broadcom STB reset driver" if COMPILE_TEST
 	depends on ARM
+	depends on MFD_SYSCON
 	default ARCH_BRCMSTB
 	help
 	  This driver provides restart support for ARM-based Broadcom STB
-- 
2.1.0


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

* Re: [PATCH] power: reset: Add MFD_SYSCON depends for brcmstb
  2015-04-30 19:55 [PATCH] power: reset: Add MFD_SYSCON depends for brcmstb Florian Fainelli
@ 2015-05-01 20:54 ` Sebastian Reichel
  0 siblings, 0 replies; 2+ messages in thread
From: Sebastian Reichel @ 2015-05-01 20:54 UTC (permalink / raw)
  To: Florian Fainelli
  Cc: linux-kernel, linux-pm, dwmw2, dbaryshkov, computersforpeace,
	bcm-kernel-feedback-list

[-- Attachment #1: Type: text/plain, Size: 673 bytes --]

Hi,

On Thu, Apr 30, 2015 at 12:55:02PM -0700, Florian Fainelli wrote:
> The Broadcom STB reboot driver depends on MFD_SYSCON, it uses
> syscon_regmap_lookup_by_phandle() which will not lookup syscon phandles
> if MFD_SYSCON is disabled, and instead will return -ENOSYS since it is
> turned into an inline stub.
> 
> Fixes: 030494e75064c ("power: reset: Add reboot driver for brcmstb")
> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>

Thanks, queued into fixes branch.

P.S.: Please rebase patches to current tree before sending them. It
had a conflict with 4f5fd6404698 ("power/reset: brcmstb: Make the
driver buildable on MIPS").

-- Sebastian

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

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

end of thread, other threads:[~2015-05-01 20:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-30 19:55 [PATCH] power: reset: Add MFD_SYSCON depends for brcmstb Florian Fainelli
2015-05-01 20:54 ` Sebastian Reichel

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.