Linux PWM subsystem development
 help / color / mirror / Atom feed
From: Trevor Gamblin <tgamblin@baylibre.com>
To: "Uwe Kleine-König" <u.kleine-koenig@baylibre.com>,
	linux-pwm@vger.kernel.org
Cc: stable@vger.kernel.org
Subject: Re: [PATCH] pwm: Ensure callbacks exist before calling them
Date: Thu, 23 Jan 2025 14:28:12 -0500	[thread overview]
Message-ID: <bb204680-2c60-4928-8c3b-e87b1dfa39e7@baylibre.com> (raw)
In-Reply-To: <20250123172709.391349-2-u.kleine-koenig@baylibre.com>


On 2025-01-23 12:27, Uwe Kleine-König wrote:
> If one of the waveform functions is called for a chip that only supports
> .apply(), we want that an error code is returned and not a NULL pointer
> exception.
>
> Fixes: 6c5126c6406d ("pwm: Provide new consumer API functions for waveforms")
> Cc: stable@vger.kernel.org
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
Tested-by: Trevor Gamblin <tgamblin@baylibre.com>

      reply	other threads:[~2025-01-23 19:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-23 17:27 [PATCH] pwm: Ensure callbacks exist before calling them Uwe Kleine-König
2025-01-23 19:28 ` Trevor Gamblin [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=bb204680-2c60-4928-8c3b-e87b1dfa39e7@baylibre.com \
    --to=tgamblin@baylibre.com \
    --cc=linux-pwm@vger.kernel.org \
    --cc=stable@vger.kernel.org \
    --cc=u.kleine-koenig@baylibre.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