]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
iio: gyro: mpu3050: Fix incorrect free_irq() variable
authorEthan Tidmore <ethantidmore06@gmail.com>
Tue, 24 Feb 2026 22:48:15 +0000 (16:48 -0600)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 1 Mar 2026 11:20:11 +0000 (11:20 +0000)
commitedb11a1aef4011a4b7b22cc3c3396c6fe371f4a6
tree132b8d829913491af6448edf4ab4d07428721e14
parent679c04c10d65d32a3f269e696b22912ff0a001b9
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 <linusw@kernel.org>
Signed-off-by: Ethan Tidmore <ethantidmore06@gmail.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/gyro/mpu3050-core.c