linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: Mark Brown <broonie@kernel.org>
To: Krzysztof Kozlowski <krzk@kernel.org>
Cc: linux-samsung-soc@vger.kernel.org, b.zolnierkie@samsung.com,
	Lukasz Stelmach <l.stelmach@samsung.com>,
	linux-kernel@vger.kernel.org, linux-spi@vger.kernel.org,
	Kukjin Kim <kgene@kernel.org>, Andi Shyti <andi@etezian.org>,
	linux-arm-kernel@lists.infradead.org, m.szyprowski@samsung.com
Subject: Re: [PATCH 1/8] spi: spi-s3c64xx: swap s3c64xx_spi_set_cs() and s3c64xx_enable_datapath()
Date: Wed, 19 Aug 2020 14:16:35 +0100	[thread overview]
Message-ID: <20200819131635.GD5441@sirena.org.uk> (raw)
In-Reply-To: <20200819125822.GA18970@kozik-lap>


[-- Attachment #1.1: Type: text/plain, Size: 1203 bytes --]

On Wed, Aug 19, 2020 at 02:58:22PM +0200, Krzysztof Kozlowski wrote:
> On Wed, Aug 19, 2020 at 02:51:27PM +0200, Lukasz Stelmach wrote:

> > Honestly, I don't know and I couldn't find out why. It makes stuff
> > work. There has been a commit like this before

> >     0f5a751ace25 spi/s3c64xx: Enable GPIO /CS prior to starting hardware

> > Apparently, it was lost in

> >     0732a9d2a155 spi/s3c64xx: Use core message handling

> Then describe at least this... maybe Mark knows why he brough back old
> code after refactoring?

I'm not sure what's being referred to as being lost in the second commit
TBH.  The first commit is simple code motion rather than a correctness
thing, and more related to the handling of GPIO controlled chip selects
according to the description (which people should be using with that
controller anyway where possible IIRC, the native chip select has too
many assumptions about what it's doing).  I don't know that I ever
actually used a system that used the native chip select as the actual
chip select.  Perhaps some quirk was introduced where the chip select
signal does something?

The commit is also lacking a description of what the issues that are
being fixed are.

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

[-- Attachment #2: Type: text/plain, Size: 176 bytes --]

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  reply	other threads:[~2020-08-19 13:18 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CGME20200819123225eucas1p28be1b1920ade0ba8997bc17da97599b6@eucas1p2.samsung.com>
2020-08-19 12:32 ` [PATCH 0/8] Some fixes for spi-s3c64xx Łukasz Stelmach
2020-08-19 12:32   ` [PATCH 1/8] spi: spi-s3c64xx: swap s3c64xx_spi_set_cs() and s3c64xx_enable_datapath() Łukasz Stelmach
2020-08-19 12:38     ` Krzysztof Kozlowski
2020-08-19 12:51       ` Lukasz Stelmach
2020-08-19 12:58         ` Krzysztof Kozlowski
2020-08-19 13:16           ` Mark Brown [this message]
2020-08-19 14:01             ` Lukasz Stelmach
2020-08-19 19:12               ` Mark Brown
2020-08-20 10:12                 ` Lukasz Stelmach
2020-08-19 12:32   ` [PATCH 2/8] spi: spi-s3s64xx: Add S3C64XX_SPI_QUIRK_CS_AUTO for Exynos3250 Łukasz Stelmach
2020-08-19 12:39     ` Krzysztof Kozlowski
2020-08-19 13:01       ` Lukasz Stelmach
2020-08-19 13:06         ` Krzysztof Kozlowski
2020-08-19 19:38         ` Mark Brown
2020-08-20 10:47           ` Lukasz Stelmach
2020-08-19 12:32   ` [PATCH 3/8] spi: spi-s3c64xx: Report more information when errors occur Łukasz Stelmach
2020-08-19 12:43     ` Krzysztof Kozlowski
2020-08-19 12:32   ` [PATCH 4/8] spi: spi-s3c64xx: Rename S3C64XX_SPI_SLAVE_* to S3C64XX_SPI_CS_* Łukasz Stelmach
2020-08-19 12:44     ` Krzysztof Kozlowski
2020-08-19 12:32   ` [PATCH 5/8] spi: spi-s3c64xx: Fix doc comment for struct s3c64xx_spi_driver_data Łukasz Stelmach
2020-08-19 12:37     ` Krzysztof Kozlowski
2020-08-19 13:25       ` Lukasz Stelmach
2020-08-19 12:32   ` [PATCH 6/8] spi: spi-s3c64xx: Check return values Łukasz Stelmach
2020-08-19 12:48     ` Krzysztof Kozlowski
2020-08-19 15:41       ` Lukasz Stelmach
2020-08-19 16:13         ` Krzysztof Kozlowski
2020-08-19 12:32   ` [PATCH 7/8] spi: spi-s3c64xx: Increase transfer timeout Łukasz Stelmach
2020-08-19 12:49     ` Krzysztof Kozlowski
2020-08-19 13:39       ` Lukasz Stelmach
2020-08-21  7:10         ` Krzysztof Kozlowski
2020-08-19 12:32   ` [PATCH 8/8] spi: spi-s3c64xx: Turn on interrupts upon resume Łukasz Stelmach
2020-08-19 12:53     ` Krzysztof Kozlowski
2020-08-19 13:33       ` Lukasz Stelmach
2020-08-19 12:50   ` [PATCH 0/8] Some fixes for spi-s3c64xx Krzysztof Kozlowski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200819131635.GD5441@sirena.org.uk \
    --to=broonie@kernel.org \
    --cc=andi@etezian.org \
    --cc=b.zolnierkie@samsung.com \
    --cc=kgene@kernel.org \
    --cc=krzk@kernel.org \
    --cc=l.stelmach@samsung.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-samsung-soc@vger.kernel.org \
    --cc=linux-spi@vger.kernel.org \
    --cc=m.szyprowski@samsung.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).