From: Ethan Tidmore <ethantidmore06@gmail.com>
To: linusw@kernel.org, jic23@kernel.org
Cc: dlechner@baylibre.com, nuno.sa@analog.com, andy@kernel.org,
linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org,
Ethan Tidmore <ethantidmore06@gmail.com>
Subject: [PATCH v3 0/4] iio: gyro: mpu3050: Multiple bug fixes
Date: Tue, 24 Feb 2026 16:48:14 -0600 [thread overview]
Message-ID: <20260224224818.2452675-1-ethantidmore06@gmail.com> (raw)
This series fixes 4 bugs:
- Patch 1: Fix free_irq() being called with wrong handler.
- Patch 2: Added missing free_irq() in an error path.
- Patch 3: Moved iio_device_register() to end of probe function, in
doing so had to implement correct error cleanups and place
iio_device_unregister in beginning of remove callback.
- Patch 4: free_irq() is after called iio_triggered_buffer_cleanup()
which breaks LIFO, place it before it.
I plan on doing a proper devm_ conversion of this driver, but went ahead
and did these fixes so they could be backported.
v3:
- Patch 1 & 2 remove unneeded code snippets.
- Patch 3 remove stray change and tidy up grammar.
- Patch 4 clarify patch purpose.
Ethan Tidmore (4):
iio: gyro: mpu3050: Fix incorrect free_irq() variable
iio: gyro: mpu3050: Fix irq resource leak
iio: gyro: mpu3050: Move iio_device_register() to correct location
iio: gyro: mpu3050: Fix out-of-sequence free_irq()
drivers/iio/gyro/mpu3050-core.c | 32 +++++++++++++++++++++-----------
1 file changed, 21 insertions(+), 11 deletions(-)
--
2.53.0
next reply other threads:[~2026-02-24 22:48 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-24 22:48 Ethan Tidmore [this message]
2026-02-24 22:48 ` [PATCH v3 1/4] iio: gyro: mpu3050: Fix incorrect free_irq() variable Ethan Tidmore
2026-02-24 22:48 ` [PATCH v3 2/4] iio: gyro: mpu3050: Fix irq resource leak Ethan Tidmore
2026-02-24 22:48 ` [PATCH v3 3/4] iio: gyro: mpu3050: Move iio_device_register() to correct location Ethan Tidmore
2026-02-28 18:17 ` Jonathan Cameron
2026-02-24 22:48 ` [PATCH v3 4/4] iio: gyro: mpu3050: Fix out-of-sequence free_irq() Ethan Tidmore
2026-02-25 11:53 ` Andy Shevchenko
2026-02-25 11:59 ` Andy Shevchenko
2026-02-28 18:15 ` Jonathan Cameron
2026-02-25 12:01 ` [PATCH v3 0/4] iio: gyro: mpu3050: Multiple bug fixes Andy Shevchenko
2026-02-28 18:16 ` Jonathan Cameron
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=20260224224818.2452675-1-ethantidmore06@gmail.com \
--to=ethantidmore06@gmail.com \
--cc=andy@kernel.org \
--cc=dlechner@baylibre.com \
--cc=jic23@kernel.org \
--cc=linusw@kernel.org \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=nuno.sa@analog.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