linux-spi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: pxa: ssp: Fix build error by removing originally incorrect DT binding
@ 2015-09-04  8:05 Jarkko Nikula
  0 siblings, 0 replies; 3+ messages in thread
From: Jarkko Nikula @ 2015-09-04  8:05 UTC (permalink / raw)
  To: linux-arm-kernel
  Cc: Russell King, Haojian Zhuang, linux-spi, Mark Brown,
	Jarkko Nikula, stable, Robert Jarzmik, Daniel Mack

Commit 03fbf488cece ("spi: pxa2xx: Differentiate Intel LPSS types") caused
build error here because it removed the type LPSS_SSP and I didn't notice
the type was used here too.

I believe commit a6e56c28a178 ("ARM: pxa: ssp: add DT bindings") added it
accidentally by copying all enum pxa_ssp_type types from
include/linux/pxa2xx_ssp.h even LPSS_SSP was for Intel LPSS SPI devices.

Fix the build error by removing this incorrect binding.

Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Reported-by: Axel Lin <axel.lin@ingics.com>
Cc: <stable@vger.kernel.org> # 4.2
---
Sorry if you got this multiple times day before yesterday. I had problems
with two addresses bouncing back without any obvious errors in the
git send-email command or those failing addresses and linux-spi archive
didn't show the patch either.

I'm surrounding now the stable@vger.kernel.org by angled brackets because I
think that was the problem here as the "# 4.2" got added into address.
---
 arch/arm/plat-pxa/ssp.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/arm/plat-pxa/ssp.c b/arch/arm/plat-pxa/ssp.c
index ad9529cc4203..daa1a65f2eb7 100644
--- a/arch/arm/plat-pxa/ssp.c
+++ b/arch/arm/plat-pxa/ssp.c
@@ -107,7 +107,6 @@ static const struct of_device_id pxa_ssp_of_ids[] = {
 	{ .compatible = "mvrl,pxa168-ssp",	.data = (void *) PXA168_SSP },
 	{ .compatible = "mrvl,pxa910-ssp",	.data = (void *) PXA910_SSP },
 	{ .compatible = "mrvl,ce4100-ssp",	.data = (void *) CE4100_SSP },
-	{ .compatible = "mrvl,lpss-ssp",	.data = (void *) LPSS_SSP },
 	{ },
 };
 MODULE_DEVICE_TABLE(of, pxa_ssp_of_ids);
-- 
2.5.1

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

* Re: [PATCH] ARM: pxa: ssp: Fix build error by removing originally incorrect DT binding
       [not found] <1441208649-6192-1-git-send-email-jarkko.nikula@bitmer.com>
@ 2015-09-04 19:14 ` Robert Jarzmik
  2015-09-07  7:24   ` Jarkko Nikula
  0 siblings, 1 reply; 3+ messages in thread
From: Robert Jarzmik @ 2015-09-04 19:14 UTC (permalink / raw)
  To: Jarkko Nikula
  Cc: linux-spi, linux-arm-kernel, Mark Brown, Russell King,
	Daniel Mack, Haojian Zhuang, Axel Lin, Jarkko Nikula, stable

Jarkko Nikula <jarkko.nikula@bitmer.com> writes:

> From: Jarkko Nikula <jarkko.nikula@linux.intel.com>
>
> Commit 03fbf488cece ("spi: pxa2xx: Differentiate Intel LPSS types") caused
> build error here because it removed the type LPSS_SSP and I didn't notice
> the type was used here too.
>
> I believe commit a6e56c28a178 ("ARM: pxa: ssp: add DT bindings") added it
> accidentally by copying all enum pxa_ssp_type types from
> include/linux/pxa2xx_ssp.h even LPSS_SSP was for Intel LPSS SPI devices.
>
> Fix the build error by removing this incorrect binding.
>
> Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
> Reported-by: Axel Lin <axel.lin@ingics.com>
> Cc: stable@vger.kernel.org # 4.2
> ---
> Sorry if you got this twice today. I had email problems today and this patch
> didn't go through to at least some of recipients. Resending from other my
> another address.

I'll take it through pxa tree, and I'll add this :
Fixes: 03fbf488cece ("spi: pxa2xx: Differentiate Intel LPSS types")

Up to my understanding this is the tag stable tree will use to know which kernel
version this patch should be applied to.

Cheers.

--
Robert

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

* Re: [PATCH] ARM: pxa: ssp: Fix build error by removing originally incorrect DT binding
  2015-09-04 19:14 ` [PATCH] ARM: pxa: ssp: Fix build error by removing originally incorrect DT binding Robert Jarzmik
@ 2015-09-07  7:24   ` Jarkko Nikula
  0 siblings, 0 replies; 3+ messages in thread
From: Jarkko Nikula @ 2015-09-07  7:24 UTC (permalink / raw)
  To: Robert Jarzmik, Jarkko Nikula
  Cc: linux-spi, linux-arm-kernel, Mark Brown, Russell King,
	Daniel Mack, Haojian Zhuang, Axel Lin, stable

On 09/04/2015 10:14 PM, Robert Jarzmik wrote:
> Jarkko Nikula <jarkko.nikula@bitmer.com> writes:
>
>> From: Jarkko Nikula <jarkko.nikula@linux.intel.com>
>>
>> Commit 03fbf488cece ("spi: pxa2xx: Differentiate Intel LPSS types") caused
>> build error here because it removed the type LPSS_SSP and I didn't notice
>> the type was used here too.
>>
>> I believe commit a6e56c28a178 ("ARM: pxa: ssp: add DT bindings") added it
>> accidentally by copying all enum pxa_ssp_type types from
>> include/linux/pxa2xx_ssp.h even LPSS_SSP was for Intel LPSS SPI devices.
>>
>> Fix the build error by removing this incorrect binding.
>>
>> Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
>> Reported-by: Axel Lin <axel.lin@ingics.com>
>> Cc: stable@vger.kernel.org # 4.2
>> ---
>> Sorry if you got this twice today. I had email problems today and this patch
>> didn't go through to at least some of recipients. Resending from other my
>> another address.
>
> I'll take it through pxa tree, and I'll add this :
> Fixes: 03fbf488cece ("spi: pxa2xx: Differentiate Intel LPSS types")
>
> Up to my understanding this is the tag stable tree will use to know which kernel
> version this patch should be applied to.
>
Thanks for noticing. I added it and resent the patch as v2.

-- 
Jarkko

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

end of thread, other threads:[~2015-09-07  7:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1441208649-6192-1-git-send-email-jarkko.nikula@bitmer.com>
2015-09-04 19:14 ` [PATCH] ARM: pxa: ssp: Fix build error by removing originally incorrect DT binding Robert Jarzmik
2015-09-07  7:24   ` Jarkko Nikula
2015-09-04  8:05 Jarkko Nikula

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).