All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH-next] drivers/spi: Add missing clk_disable_unprepare()
@ 2022-06-24  0:56 Guo Mengqi
  2022-06-27 12:45 ` Mark Brown
  2022-06-28 10:31 ` Mark Brown
  0 siblings, 2 replies; 3+ messages in thread
From: Guo Mengqi @ 2022-06-24  0:56 UTC (permalink / raw)
  To: masahisa.kojima, jaswinder.singh, broonie, linux-spi
  Cc: xuqiang36, guomengqi3

Add missing clk_disable_unprepare() in synquacer_spi_resume().

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Guo Mengqi <guomengqi3@huawei.com>
---
 drivers/spi/spi-synquacer.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/spi/spi-synquacer.c b/drivers/spi/spi-synquacer.c
index ea706d9629cb..47cbe73137c2 100644
--- a/drivers/spi/spi-synquacer.c
+++ b/drivers/spi/spi-synquacer.c
@@ -783,6 +783,7 @@ static int __maybe_unused synquacer_spi_resume(struct device *dev)
 
 		ret = synquacer_spi_enable(master);
 		if (ret) {
+			clk_disable_unprepare(sspi->clk);
 			dev_err(dev, "failed to enable spi (%d)\n", ret);
 			return ret;
 		}
-- 
2.17.1


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

* Re: [PATCH-next] drivers/spi: Add missing clk_disable_unprepare()
  2022-06-24  0:56 [PATCH-next] drivers/spi: Add missing clk_disable_unprepare() Guo Mengqi
@ 2022-06-27 12:45 ` Mark Brown
  2022-06-28 10:31 ` Mark Brown
  1 sibling, 0 replies; 3+ messages in thread
From: Mark Brown @ 2022-06-27 12:45 UTC (permalink / raw)
  To: Guo Mengqi; +Cc: masahisa.kojima, jaswinder.singh, linux-spi, xuqiang36

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

On Fri, Jun 24, 2022 at 08:56:14AM +0800, Guo Mengqi wrote:

> Add missing clk_disable_unprepare() in synquacer_spi_resume().

Please submit patches using subject lines reflecting the style for the
subsystem, this makes it easier for people to identify relevant patches.
Look at what existing commits in the area you're changing are doing and
make sure your subject lines visually resemble what they're doing.
There's no need to resubmit to fix this alone.

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

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

* Re: [PATCH-next] drivers/spi: Add missing clk_disable_unprepare()
  2022-06-24  0:56 [PATCH-next] drivers/spi: Add missing clk_disable_unprepare() Guo Mengqi
  2022-06-27 12:45 ` Mark Brown
@ 2022-06-28 10:31 ` Mark Brown
  1 sibling, 0 replies; 3+ messages in thread
From: Mark Brown @ 2022-06-28 10:31 UTC (permalink / raw)
  To: guomengqi3, masahisa.kojima, jaswinder.singh, linux-spi; +Cc: xuqiang36

On Fri, 24 Jun 2022 08:56:14 +0800, Guo Mengqi wrote:
> Add missing clk_disable_unprepare() in synquacer_spi_resume().
> 
> 

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next

Thanks!

[1/1] drivers/spi: Add missing clk_disable_unprepare()
      commit: 917e43de2a56d9b82576f1cc94748261f1988458

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

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

end of thread, other threads:[~2022-06-28 10:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-24  0:56 [PATCH-next] drivers/spi: Add missing clk_disable_unprepare() Guo Mengqi
2022-06-27 12:45 ` Mark Brown
2022-06-28 10:31 ` Mark Brown

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.