From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5356F374E47 for ; Sun, 29 Mar 2026 13:18:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774790323; cv=none; b=mTZChAmK0nmy1cpJzk3d+1gkwupEg5Uo3usF7OvOC/ZCclWLplXS0TfG3r10FSOyuOFcO/FTngVvMiT9QElTuqImgU/kOchDafEOE0J0b0kg1TSvi3/w9MWO/gaFiFQ7dtOaA3ndrcCI3N+OFbyquFrOAw5vQKvvyVN34KSk4UE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774790323; c=relaxed/simple; bh=sZj/nSohkpi4LmFJudaO7gZWinL26xpvb7jIhPgWzQ8=; h=Subject:To:From:Date:Message-ID:MIME-Version:Content-Type; b=jnlBSQq9/kI7ZXO5skD345vBqaIXC9OkstHTZIdggGdqwRypZBt02MQL1jJDd3gO1K85CcatD8QIhyuFy3ZQ343ojsY8uS3nRc1EOQ8E/u3CFvs1jndOLdAMccvqkTutzbu75UQZKGe2qq2P5qGyA3bg5GJAVow9w1g1Xg2GoRU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=dswxV8Tt; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="dswxV8Tt" Received: by smtp.kernel.org (Postfix) with ESMTPSA id BE223C116C6; Sun, 29 Mar 2026 13:18:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1774790323; bh=sZj/nSohkpi4LmFJudaO7gZWinL26xpvb7jIhPgWzQ8=; h=Subject:To:From:Date:From; b=dswxV8TtYWGYYdNLfJmfzlk31X0x4INE/tBXigX9ZdYm+BLL+sPeVleXGHwpK8Ets 7h4WbCkHA0iatPq2/dMczXzepRn4Wm7pWrP6A9Cg0jwQ3MpNL8ywwD2+c+bZpjKQMJ kPIMjhk/Rcm63Zf0qmApygKCwdMMuNBtpDQH9uNo= Subject: patch "iio: gyro: mpu3050: Fix incorrect free_irq() variable" added to char-misc-linus To: ethantidmore06@gmail.com,Jonathan.Cameron@huawei.com,Stable@vger.kernel.org,andriy.shevchenko@intel.com,linusw@kernel.org From: Date: Sun, 29 Mar 2026 14:50:11 +0200 Message-ID: <2026032911-grew-glider-c363@gregkh> Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=ANSI_X3.4-1968 Content-Transfer-Encoding: 8bit This is a note to let you know that I've just added the patch titled iio: gyro: mpu3050: Fix incorrect free_irq() variable to my char-misc git tree which can be found at git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git in the char-misc-linus branch. The patch will show up in the next release of the linux-next tree (usually sometime within the next 24 hours during the week.) The patch will hopefully also be merged in Linus's tree for the next -rc kernel release. If you have any questions about this process, please let me know. >From edb11a1aef4011a4b7b22cc3c3396c6fe371f4a6 Mon Sep 17 00:00:00 2001 From: Ethan Tidmore Date: Tue, 24 Feb 2026 16:48:15 -0600 Subject: iio: gyro: mpu3050: Fix incorrect free_irq() variable The handler for the IRQ part of this driver is mpu3050->trig but, in the teardown free_irq() is called with handler mpu3050. Use correct IRQ handler when calling free_irq(). Fixes: 3904b28efb2c7 ("iio: gyro: Add driver for the MPU-3050 gyroscope") Reviewed-by: Linus Walleij Signed-off-by: Ethan Tidmore Reviewed-by: Andy Shevchenko Cc: Signed-off-by: Jonathan Cameron --- drivers/iio/gyro/mpu3050-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/gyro/mpu3050-core.c b/drivers/iio/gyro/mpu3050-core.c index 317e7b217ec6..8df1f524d342 100644 --- a/drivers/iio/gyro/mpu3050-core.c +++ b/drivers/iio/gyro/mpu3050-core.c @@ -1269,7 +1269,7 @@ void mpu3050_common_remove(struct device *dev) pm_runtime_disable(dev); iio_triggered_buffer_cleanup(indio_dev); if (mpu3050->irq) - free_irq(mpu3050->irq, mpu3050); + free_irq(mpu3050->irq, mpu3050->trig); iio_device_unregister(indio_dev); mpu3050_power_down(mpu3050); } -- 2.53.0