All of lore.kernel.org
 help / color / mirror / Atom feed
From: Matti Vaittinen <mazziesaccount@gmail.com>
To: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>,
	Matti Vaittinen <matti.vaittinen@linux.dev>
Cc: Linus Walleij <linusw@kernel.org>,
	Bartosz Golaszewski <brgl@kernel.org>,
	linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org,
	Andreas Kemnade <andreas@kemnade.info>
Subject: Re: [PATCH] gpio: handle missing regmap
Date: Wed, 8 Apr 2026 10:43:15 +0300	[thread overview]
Message-ID: <4cea1226-dfef-4612-b744-10112fd869fa@gmail.com> (raw)
In-Reply-To: <177563264634.6152.117129686332918058.b4-ty@oss.qualcomm.com>

On 08/04/2026 10:18, Bartosz Golaszewski wrote:
> 
> On Tue, 07 Apr 2026 15:41:48 +0300, Matti Vaittinen wrote:
>> Currently the probe does not check whether getting the regmap succeeded.
>> This can cause crash when regmap is used, if it wasn't successfully
>> obtained. Failing to get the regmap is unlikely, especially since this
>> driver is expected to be kicked by the MFD driver only after registering
>> the regmap - but it is still better to handle this gracefully.
>>
>>
>> [...]
> 
> The subject should have been: "gpio: bd72720: handle missing regmap".

Indeed!

> I fixed it and queued the patch.

Thanks a bunch :)

Yours,
   -- Matti


---
Matti Vaittinen
Linux kernel developer at ROHM Semiconductors
Oulu Finland

~~ When things go utterly wrong vim users can always type :help! ~~

      reply	other threads:[~2026-04-08  7:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-07 12:41 [PATCH] gpio: handle missing regmap Matti Vaittinen
2026-04-08  7:18 ` Bartosz Golaszewski
2026-04-08  7:43   ` Matti Vaittinen [this message]

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=4cea1226-dfef-4612-b744-10112fd869fa@gmail.com \
    --to=mazziesaccount@gmail.com \
    --cc=andreas@kemnade.info \
    --cc=bartosz.golaszewski@oss.qualcomm.com \
    --cc=brgl@kernel.org \
    --cc=linusw@kernel.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=matti.vaittinen@linux.dev \
    /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.