All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Brown <broonie@kernel.org>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org,
	Mark Brown <broonie@kernel.org>
Subject: [GIT PULL] SPI fixes for v5.10-rc4
Date: Thu, 19 Nov 2020 17:45:17 +0000	[thread overview]
Message-ID: <20201119174538.A2FC5246D1@mail.kernel.org> (raw)

The following changes since commit bc7f2cd7559c5595dc38b909ae9a8d43e0215994:

  spi: bcm2835: remove use of uninitialized gpio flags variable (2020-11-06 11:23:26 +0000)

are available in the Git repository at:

  https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git tags/spi-fix-v5.10-rc4

for you to fetch changes up to 04a9cd51d3f3308a98cbc6adc07acb12fbade011:

  spi: npcm-fiu: Don't leak SPI master in probe error path (2020-11-17 17:08:39 +0000)

----------------------------------------------------------------
spi: Fixes for v5.10

This is a relatively large set of fixes, the bulk of it being a series
from Lukas Wunner which fixes confusion with the lifetime of driver data
allocated along with the SPI controller structure that's been created as
part of the conversion to devm APIs.  The simplest fix, explained in
detail in Lukas' commit message, is to move to a devm_ function for
allocation of the controller and hence driver data in order to push the
free of that after anything tries to reference the driver data in the
remove path.  This results in a relatively large diff due to the
addition of a new function but isn't particularly complex.

There's also a fix from sven van Asbroeck which fixes yet more fallout
from the conflicts between the various different places one can
configure the polarity of GPIOs in modern systems.

Otherwise everything is fairly small and driver specific.

----------------------------------------------------------------
Eddie James (1):
      spi: fsi: Fix transfer returning without finalizing message

Lukas Wunner (6):
      spi: Introduce device-managed SPI controller allocation
      spi: bcm2835: Fix use-after-free on unbind
      spi: bcm2835aux: Fix use-after-free on unbind
      spi: bcm-qspi: Fix use-after-free on unbind
      spi: lpspi: Fix use-after-free on unbind
      spi: npcm-fiu: Don't leak SPI master in probe error path

Mark Brown (1):
      Merge series "Use-after-free be gone" from Lukas Wunner <lukas@wunner.de>:

Nathan Chancellor (1):
      spi: bcm2835aux: Restore err assignment in bcm2835aux_spi_probe

Serge Semin (1):
      spi: dw: Set transfer handler before unmasking the IRQs

Sven Van Asbroeck (1):
      spi: fix client driver breakages when using GPIO descriptors

Zhihao Cheng (1):
      spi: cadence-quadspi: Fix error return code in cqspi_probe

 drivers/spi/spi-bcm-qspi.c        | 34 ++++++----------
 drivers/spi/spi-bcm2835.c         | 24 ++++--------
 drivers/spi/spi-bcm2835aux.c      | 20 ++++------
 drivers/spi/spi-cadence-quadspi.c |  2 +
 drivers/spi/spi-dw-core.c         |  4 +-
 drivers/spi/spi-fsi.c             |  2 +-
 drivers/spi/spi-fsl-lpspi.c       |  3 --
 drivers/spi/spi-npcm-fiu.c        |  2 +-
 drivers/spi/spi.c                 | 81 ++++++++++++++++++++++++++++++---------
 include/linux/spi/spi.h           | 19 +++++++++
 10 files changed, 115 insertions(+), 76 deletions(-)

             reply	other threads:[~2020-11-19 17:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-19 17:45 Mark Brown [this message]
2020-11-19 19:17 ` [GIT PULL] SPI fixes for v5.10-rc4 pr-tracker-bot

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=20201119174538.A2FC5246D1@mail.kernel.org \
    --to=broonie@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-spi@vger.kernel.org \
    --cc=torvalds@linux-foundation.org \
    /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 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.