linux-spi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] SPI: make falcon-spi bool
@ 2017-01-03 17:04 Hauke Mehrtens
       [not found] ` <20170103170427.26120-1-hauke-5/S+JYg5SzeELgA04lAiVw@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: Hauke Mehrtens @ 2017-01-03 17:04 UTC (permalink / raw)
  To: broonie-DgEjT+Ai2ygdnm+yROfE0A
  Cc: linux-spi-u79uwXL29TY76Z2rM5mHXA,
	hauke.mehrtens-ral2JQCrhuEAvxtiuMwx3w,
	thomas.langer-ral2JQCrhuEAvxtiuMwx3w,
	john-Pj+rj9U5foFAfugRpC6u6w, Hauke Mehrtens

Falcon spi accesses some ebu functions which are not exported and can
not be accessed when build as module. Make this module bool instead.

Signed-off-by: Hauke Mehrtens <hauke-5/S+JYg5SzeELgA04lAiVw@public.gmane.org>
---
 drivers/spi/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
index 1abba53c2334..c8356437c512 100644
--- a/drivers/spi/Kconfig
+++ b/drivers/spi/Kconfig
@@ -263,7 +263,7 @@ config SPI_EP93XX
 	  mode.
 
 config SPI_FALCON
-	tristate "Falcon SPI controller support"
+	bool "Falcon SPI controller support"
 	depends on SOC_FALCON
 	help
 	  The external bus unit (EBU) found on the FALC-ON SoC has SPI
-- 
2.11.0

--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* RE: [PATCH] SPI: make falcon-spi bool
       [not found] ` <20170103170427.26120-1-hauke-5/S+JYg5SzeELgA04lAiVw@public.gmane.org>
@ 2017-01-03 18:52   ` Langer, Thomas
  2017-01-04 10:46   ` Mark Brown
                     ` (2 subsequent siblings)
  3 siblings, 0 replies; 6+ messages in thread
From: Langer, Thomas @ 2017-01-03 18:52 UTC (permalink / raw)
  To: Hauke Mehrtens, broonie-DgEjT+Ai2ygdnm+yROfE0A
  Cc: linux-spi-u79uwXL29TY76Z2rM5mHXA, Mehrtens, Hauke,
	john-Pj+rj9U5foFAfugRpC6u6w


> -----Original Message-----
> From: Hauke Mehrtens [mailto:hauke-5/S+JYg5SzeELgA04lAiVw@public.gmane.org]
> Sent: Tuesday, January 3, 2017 6:04 PM
> To: broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org
> Cc: linux-spi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org; Mehrtens, Hauke <hauke.mehrtens-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>;
> Langer, Thomas <thomas.langer-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>; john-Pj+rj9U5foFAfugRpC6u6w@public.gmane.org; Hauke Mehrtens
> <hauke-5/S+JYg5SzeELgA04lAiVw@public.gmane.org>
> Subject: [PATCH] SPI: make falcon-spi bool
> 
> Falcon spi accesses some ebu functions which are not exported and can
> not be accessed when build as module. Make this module bool instead.
> 
> Signed-off-by: Hauke Mehrtens <hauke-5/S+JYg5SzeELgA04lAiVw@public.gmane.org>

Acked-by: Thomas Langer <thomas.langer-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>

> ---
>  drivers/spi/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
> index 1abba53c2334..c8356437c512 100644
> --- a/drivers/spi/Kconfig
> +++ b/drivers/spi/Kconfig
> @@ -263,7 +263,7 @@ config SPI_EP93XX
>  	  mode.
> 
>  config SPI_FALCON
> -	tristate "Falcon SPI controller support"
> +	bool "Falcon SPI controller support"
>  	depends on SOC_FALCON
>  	help
>  	  The external bus unit (EBU) found on the FALC-ON SoC has SPI
> --
> 2.11.0

--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: [PATCH] SPI: make falcon-spi bool
       [not found] ` <20170103170427.26120-1-hauke-5/S+JYg5SzeELgA04lAiVw@public.gmane.org>
  2017-01-03 18:52   ` Langer, Thomas
@ 2017-01-04 10:46   ` Mark Brown
       [not found]     ` <20170104104624.z4ijsadskpmd26p5-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
  2017-01-10 12:26   ` Mark Brown
  2017-01-10 12:27   ` Applied "spi: make falcon-spi bool" to the spi tree Mark Brown
  3 siblings, 1 reply; 6+ messages in thread
From: Mark Brown @ 2017-01-04 10:46 UTC (permalink / raw)
  To: Hauke Mehrtens
  Cc: linux-spi-u79uwXL29TY76Z2rM5mHXA,
	hauke.mehrtens-ral2JQCrhuEAvxtiuMwx3w,
	thomas.langer-ral2JQCrhuEAvxtiuMwx3w,
	john-Pj+rj9U5foFAfugRpC6u6w

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

On Tue, Jan 03, 2017 at 06:04:27PM +0100, Hauke Mehrtens wrote:
> Falcon spi accesses some ebu functions which are not exported and can
> not be accessed when build as module. Make this module bool instead.

Why is the fix here not to export these functions (or longer term to fix
things so that we're not going through custom APIs)?

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* Re: [PATCH] SPI: make falcon-spi bool
       [not found]     ` <20170104104624.z4ijsadskpmd26p5-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
@ 2017-01-09 23:32       ` Hauke Mehrtens
  0 siblings, 0 replies; 6+ messages in thread
From: Hauke Mehrtens @ 2017-01-09 23:32 UTC (permalink / raw)
  To: Mark Brown
  Cc: linux-spi-u79uwXL29TY76Z2rM5mHXA,
	hauke.mehrtens-ral2JQCrhuEAvxtiuMwx3w,
	thomas.langer-ral2JQCrhuEAvxtiuMwx3w,
	john-Pj+rj9U5foFAfugRpC6u6w

On 01/04/2017 11:46 AM, Mark Brown wrote:
> On Tue, Jan 03, 2017 at 06:04:27PM +0100, Hauke Mehrtens wrote:
>> Falcon spi accesses some ebu functions which are not exported and can
>> not be accessed when build as module. Make this module bool instead.
> 
> Why is the fix here not to export these functions (or longer term to fix
> things so that we're not going through custom APIs)?

This should only be the short term fix for this problem and for long
term I want to fix the arch code for lantiq. This drivers accesses the
ltq_ebu_membase memory area and I do not want to export that.

Hauke
--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: [PATCH] SPI: make falcon-spi bool
       [not found] ` <20170103170427.26120-1-hauke-5/S+JYg5SzeELgA04lAiVw@public.gmane.org>
  2017-01-03 18:52   ` Langer, Thomas
  2017-01-04 10:46   ` Mark Brown
@ 2017-01-10 12:26   ` Mark Brown
  2017-01-10 12:27   ` Applied "spi: make falcon-spi bool" to the spi tree Mark Brown
  3 siblings, 0 replies; 6+ messages in thread
From: Mark Brown @ 2017-01-10 12:26 UTC (permalink / raw)
  To: Hauke Mehrtens
  Cc: linux-spi-u79uwXL29TY76Z2rM5mHXA,
	hauke.mehrtens-ral2JQCrhuEAvxtiuMwx3w,
	thomas.langer-ral2JQCrhuEAvxtiuMwx3w,
	john-Pj+rj9U5foFAfugRpC6u6w

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

On Tue, Jan 03, 2017 at 06:04:27PM +0100, Hauke Mehrtens wrote:
> Falcon spi accesses some ebu functions which are not exported and can
> not be accessed when build as module. Make this module bool instead.

Please use subject lines matching the style for the subsystem.  This
makes it easier for people to identify relevant patches.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* Applied "spi: make falcon-spi bool" to the spi tree
       [not found] ` <20170103170427.26120-1-hauke-5/S+JYg5SzeELgA04lAiVw@public.gmane.org>
                     ` (2 preceding siblings ...)
  2017-01-10 12:26   ` Mark Brown
@ 2017-01-10 12:27   ` Mark Brown
  3 siblings, 0 replies; 6+ messages in thread
From: Mark Brown @ 2017-01-10 12:27 UTC (permalink / raw)
  To: Hauke Mehrtens
  Cc: Thomas Langer, Mark Brown, broonie-DgEjT+Ai2ygdnm+yROfE0A,
	linux-spi-u79uwXL29TY76Z2rM5mHXA,
	hauke.mehrtens-ral2JQCrhuEAvxtiuMwx3w,
	thomas.langer-ral2JQCrhuEAvxtiuMwx3w,
	john-Pj+rj9U5foFAfugRpC6u6w, linux-spi-u79uwXL29TY76Z2rM5mHXA

The patch

   spi: make falcon-spi bool

has been applied to the spi tree at

   git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git 

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

>From 9c6a3af003c06ef1efc5e243cdbab1be4cb90753 Mon Sep 17 00:00:00 2001
From: Hauke Mehrtens <hauke-5/S+JYg5SzeELgA04lAiVw@public.gmane.org>
Date: Tue, 3 Jan 2017 18:04:27 +0100
Subject: [PATCH] spi: make falcon-spi bool

Falcon spi accesses some ebu functions which are not exported and can
not be accessed when build as module. Make this module bool instead.

Signed-off-by: Hauke Mehrtens <hauke-5/S+JYg5SzeELgA04lAiVw@public.gmane.org>
Acked-by: Thomas Langer <thomas.langer-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Signed-off-by: Mark Brown <broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
---
 drivers/spi/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
index ec4aa252d6e8..e3c256685235 100644
--- a/drivers/spi/Kconfig
+++ b/drivers/spi/Kconfig
@@ -263,7 +263,7 @@ config SPI_EP93XX
 	  mode.
 
 config SPI_FALCON
-	tristate "Falcon SPI controller support"
+	bool "Falcon SPI controller support"
 	depends on SOC_FALCON
 	help
 	  The external bus unit (EBU) found on the FALC-ON SoC has SPI
-- 
2.11.0

--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

end of thread, other threads:[~2017-01-10 12:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-03 17:04 [PATCH] SPI: make falcon-spi bool Hauke Mehrtens
     [not found] ` <20170103170427.26120-1-hauke-5/S+JYg5SzeELgA04lAiVw@public.gmane.org>
2017-01-03 18:52   ` Langer, Thomas
2017-01-04 10:46   ` Mark Brown
     [not found]     ` <20170104104624.z4ijsadskpmd26p5-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2017-01-09 23:32       ` Hauke Mehrtens
2017-01-10 12:26   ` Mark Brown
2017-01-10 12:27   ` Applied "spi: make falcon-spi bool" to the spi tree Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).