All of lore.kernel.org
 help / color / mirror / Atom feed
From: Artem Shimko <a.shimko.dev@gmail.com>
To: andriy.shevchenko@intel.com, adrian.hunter@intel.com,
	ulfh@kernel.org, p.zabel@pengutronix.de
Cc: Artem Shimko <a.shimko.dev@gmail.com>,
	linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH v3 0/2] mmc: sdhci-of-dwcmshc: minor cleanups
Date: Fri, 22 May 2026 10:31:30 +0300	[thread overview]
Message-ID: <20260522073133.409844-1-a.shimko.dev@gmail.com> (raw)

Hi,

This series introduces two non-functional cleanups for the Synopsys
DWC MSHC driver.

Patch 1 removes redundant IS_ERR() checks for bus_clk in suspend/resume
paths where the called functions already have internal protection.

Patch 2 converts error handling in probe paths to use dev_err_probe()
macro for more compact code and better deferred probe debugging.

--
Best regards,
Artem
---
ChangeLog:
  v1: 
    * https://lore.kernel.org/all/20260518110034.142587-1-a.shimko.dev@gmail.com/T/#t
  v2:
    * https://lore.kernel.org/all/20260521083506.356422-1-a.shimko.dev@gmail.com/T/#t
  v3:
    * Drop fsleep() patch to keep initial delay/sleep values

Artem Shimko (2):
  mmc: sdhci-of-dwcmshc: remove redundant IS_ERR() check
  mmc: sdhci-of-dwcmshc: use dev_err_probe() to simplify error paths

 drivers/mmc/host/sdhci-of-dwcmshc.c | 36 +++++++++++------------------
 1 file changed, 13 insertions(+), 23 deletions(-)

-- 
2.43.0


             reply	other threads:[~2026-05-22  7:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-22  7:31 Artem Shimko [this message]
2026-05-22  7:31 ` [PATCH v3 1/2] mmc: sdhci-of-dwcmshc: remove redundant IS_ERR() check Artem Shimko
2026-05-22  7:31 ` [PATCH v3 2/2] mmc: sdhci-of-dwcmshc: use dev_err_probe() to simplify error paths Artem Shimko
2026-05-29 14:45 ` [PATCH v3 0/2] mmc: sdhci-of-dwcmshc: minor cleanups Ulf Hansson

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=20260522073133.409844-1-a.shimko.dev@gmail.com \
    --to=a.shimko.dev@gmail.com \
    --cc=adrian.hunter@intel.com \
    --cc=andriy.shevchenko@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mmc@vger.kernel.org \
    --cc=p.zabel@pengutronix.de \
    --cc=ulfh@kernel.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.