Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1575442 > unrolled thread
| Started by | Andi Shyti <andi.shyti@samsung.com> |
|---|---|
| First post | 2017-02-07 09:10 +0100 |
| Last post | 2017-02-14 06:50 +0100 |
| Articles | 4 — 3 participants |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
[PATCH] spi: s3c64xx: fix inconsistency between binding and driver Andi Shyti <andi.shyti@samsung.com> - 2017-02-07 09:10 +0100
Re: [PATCH] spi: s3c64xx: fix inconsistency between binding and driver Krzysztof Kozlowski <krzk@kernel.org> - 2017-02-07 21:40 +0100
Applied "spi: s3c64xx: fix inconsistency between binding and driver" to the spi tree Mark Brown <broonie@kernel.org> - 2017-02-13 20:00 +0100
Re: Applied "spi: s3c64xx: fix inconsistency between binding and driver" to the spi tree Andi Shyti <andi.shyti@samsung.com> - 2017-02-14 06:50 +0100
| From | Andi Shyti <andi.shyti@samsung.com> |
|---|---|
| Date | 2017-02-07 09:10 +0100 |
| Subject | [PATCH] spi: s3c64xx: fix inconsistency between binding and driver |
| Message-ID | <t890B-gF-17@gated-at.bofh.it> |
Commit a92e7c3d82a1 ("spi: s3c64xx: consider the case when the CS
line is not connected") introduced an inconsistency between the
binding where the disconnected CS line was marked as
'no-cs-readback' while the driver was erroneously checking for
'broken-cs'.
Check for 'no-cs-readback' in the driver as well.
Signed-off-by: Andi Shyti <andi.shyti@samsung.com>
---
drivers/spi/spi-s3c64xx.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/spi/spi-s3c64xx.c b/drivers/spi/spi-s3c64xx.c
index b8cd356d8d10..b392cca8fa4f 100644
--- a/drivers/spi/spi-s3c64xx.c
+++ b/drivers/spi/spi-s3c64xx.c
@@ -969,7 +969,7 @@ static struct s3c64xx_spi_info *s3c64xx_spi_parse_dt(struct device *dev)
sci->num_cs = temp;
}
- sci->no_cs = of_property_read_bool(dev->of_node, "broken-cs");
+ sci->no_cs = of_property_read_bool(dev->of_node, "no-cs-readback");
return sci;
}
--
2.11.0
[toc] | [next] | [standalone]
| From | Krzysztof Kozlowski <krzk@kernel.org> |
|---|---|
| Date | 2017-02-07 21:40 +0100 |
| Subject | Re: [PATCH] spi: s3c64xx: fix inconsistency between binding and driver |
| Message-ID | <t8kIq-7B3-15@gated-at.bofh.it> |
| In reply to | #1575442 |
On Tue, Feb 07, 2017 at 05:07:48PM +0900, Andi Shyti wrote:
> Commit a92e7c3d82a1 ("spi: s3c64xx: consider the case when the CS
> line is not connected") introduced an inconsistency between the
> binding where the disconnected CS line was marked as
> 'no-cs-readback' while the driver was erroneously checking for
> 'broken-cs'.
Please describe in one sentence the visible output of this error to
justify backporting and then:
Fixes: a92e7c3d82a1 ("spi: s3c64xx: consider the case when the CS line is not connected")
Cc: <stable@vger.kernel.org>
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Best regards,
Krzysztof
[toc] | [prev] | [next] | [standalone]
| From | Mark Brown <broonie@kernel.org> |
|---|---|
| Date | 2017-02-13 20:00 +0100 |
| Subject | Applied "spi: s3c64xx: fix inconsistency between binding and driver" to the spi tree |
| Message-ID | <tau0V-7vg-5@gated-at.bofh.it> |
| In reply to | #1575442 |
The patch
spi: s3c64xx: fix inconsistency between binding and driver
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 379f831a927817c130a62e3ca0082ae685557324 Mon Sep 17 00:00:00 2001
From: Andi Shyti <andi.shyti@samsung.com>
Date: Fri, 10 Feb 2017 11:20:19 +0900
Subject: [PATCH] spi: s3c64xx: fix inconsistency between binding and driver
Commit a92e7c3d82a1 ("spi: s3c64xx: consider the case when the CS
line is not connected") introduced an inconsistency between the
binding, where the disconnected CS line was marked as
'no-cs-readback', and the driver.
The driver is erroneously checking for that attribute with
property name of 'broken-cs'.
Check for 'no-cs-readback' in the driver as well.
Fixes: a92e7c3d82a1 ("spi: s3c64xx: consider the case when the CS line is not connected")
Signed-off-by: Andi Shyti <andi.shyti@samsung.com>
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Cc: stable@vger.kernel.org
---
drivers/spi/spi-s3c64xx.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/spi/spi-s3c64xx.c b/drivers/spi/spi-s3c64xx.c
index 3c09e94cf827..186342b74141 100644
--- a/drivers/spi/spi-s3c64xx.c
+++ b/drivers/spi/spi-s3c64xx.c
@@ -1003,7 +1003,7 @@ static struct s3c64xx_spi_info *s3c64xx_spi_parse_dt(struct device *dev)
sci->num_cs = temp;
}
- sci->no_cs = of_property_read_bool(dev->of_node, "broken-cs");
+ sci->no_cs = of_property_read_bool(dev->of_node, "no-cs-readback");
return sci;
}
--
2.11.0
[toc] | [prev] | [next] | [standalone]
| From | Andi Shyti <andi.shyti@samsung.com> |
|---|---|
| Date | 2017-02-14 06:50 +0100 |
| Subject | Re: Applied "spi: s3c64xx: fix inconsistency between binding and driver" to the spi tree |
| Message-ID | <taE9X-5Xz-3@gated-at.bofh.it> |
| In reply to | #1579999 |
Hi Mark, On Mon, Feb 13, 2017 at 06:54:19PM +0000, Mark Brown wrote: > The patch > > spi: s3c64xx: fix inconsistency between binding and driver > > has been applied to the spi tree at > > git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git you picked the v1 of the patch instead of the v2. Not much harm is done, though, as the only difference between the two was the commit id. Andi
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web