linux-stable/drivers/macintosh
Finn Thain 2907d409ce macintosh/via-macii: Fix "BUG: sleeping function called from invalid context"
[ Upstream commit d301a71c76 ]

The via-macii ADB driver calls request_irq() after disabling hard
interrupts. But disabling interrupts isn't necessary here because the
VIA shift register interrupt was masked during VIA1 initialization.

Fixes: 1da177e4c3 ("Linux-2.6.12-rc2")
Signed-off-by: Finn Thain <fthain@linux-m68k.org>
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Link: https://lore.kernel.org/r/419fcc09d0e563b425c419053d02236b044d86b0.1710298421.git.fthain@linux-m68k.org
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-05-30 09:44:27 +02:00
..
ams powerpc updates for 6.6 2023-08-31 12:43:10 -07:00
adb-iop.c macintosh/adb-iop: Use big-endian autopoll mask 2021-01-25 13:23:38 +01:00
adb.c macintosh/adb: make adb_dev_class constant 2024-03-07 00:13:28 +11:00
adbhid.c macintosh/adb: Use swap() to make code cleaner 2022-05-04 19:37:45 +10:00
ans-lcd.c macintosh: Prepare cleanup of powerpc's asm/prom.h 2022-05-11 23:06:39 +10:00
ans-lcd.h
apm_emu.c
Kconfig macintosh: via-pmu-led: requires ATA to be set 2023-03-30 23:36:34 +11:00
mac_hid.c macintosh: Remove the now superfluous sentinel element from ctl_table array 2023-10-11 12:16:13 -07:00
macio-adb.c macintosh/macio-adb: add missing iounmap() on error in macio_init() 2023-10-19 17:16:20 +11:00
macio_asic.c powerpc: pmac: make macio_bus_type const 2024-02-15 00:14:06 +11:00
macio_sysfs.c macintosh: Prepare cleanup of powerpc's asm/prom.h 2022-05-11 23:06:39 +10:00
Makefile macintosh/via-pmu: Fix build failure when CONFIG_INPUT is disabled 2022-05-22 15:58:30 +10:00
mediabay.c macintosh: Prepare cleanup of powerpc's asm/prom.h 2022-05-11 23:06:39 +10:00
rack-meter.c powerpc/macio: Make remove callback of macio driver void returned 2024-03-07 23:06:19 +11:00
smu.c macintosh: Explicitly include correct DT includes 2023-08-28 13:36:24 -05:00
therm_adt746x.c macintosh: Explicitly include correct DT includes 2023-08-28 13:36:24 -05:00
therm_windtunnel.c macintosh: therm_windtunnel: Convert to platform remove callback returning void 2024-02-16 12:35:14 +11:00
via-cuda.c macintosh: Use of_address_to_resource() 2023-06-21 14:08:54 +10:00
via-macii.c macintosh/via-macii: Fix "BUG: sleeping function called from invalid context" 2024-05-30 09:44:27 +02:00
via-pmu-backlight.c macintosh/via-pmu-backlight: Include <linux/backlight.h> 2024-03-07 13:33:34 +01:00
via-pmu-event.c
via-pmu-event.h
via-pmu-led.c macintosh: Prepare cleanup of powerpc's asm/prom.h 2022-05-11 23:06:39 +10:00
via-pmu.c macintosh: Use of_address_to_resource() 2023-06-21 14:08:54 +10:00
windfarm.h
windfarm_ad7417_sensor.c macintosh: Switch i2c drivers back to use .probe() 2023-06-14 12:46:41 +10:00
windfarm_core.c macintosh: Prepare cleanup of powerpc's asm/prom.h 2022-05-11 23:06:39 +10:00
windfarm_cpufreq_clamp.c macintosh: Prepare cleanup of powerpc's asm/prom.h 2022-05-11 23:06:39 +10:00
windfarm_fcu_controls.c macintosh: Switch i2c drivers back to use .probe() 2023-06-14 12:46:41 +10:00
windfarm_lm75_sensor.c macintosh: Explicitly include correct DT includes 2023-08-28 13:36:24 -05:00
windfarm_lm87_sensor.c macintosh: Switch i2c drivers back to use .probe() 2023-06-14 12:46:41 +10:00
windfarm_max6690_sensor.c macintosh: Switch i2c drivers back to use .probe() 2023-06-14 12:46:41 +10:00
windfarm_mpu.h macintosh: Prepare cleanup of powerpc's asm/prom.h 2022-05-11 23:06:39 +10:00
windfarm_pid.c
windfarm_pid.h macintosh/windfarm_pid: Add header file macro definition 2022-11-24 23:12:18 +11:00
windfarm_pm72.c macintosh: windfarm_pm72: Convert to platform remove callback returning void 2024-02-16 12:35:14 +11:00
windfarm_pm81.c macintosh: windfarm_pm81: Convert to platform remove callback returning void 2024-02-16 12:35:14 +11:00
windfarm_pm91.c macintosh: windfarm_pm91: Convert to platform remove callback returning void 2024-02-16 12:35:15 +11:00
windfarm_pm112.c macintosh: windfarm_pm112: Convert to platform remove callback returning void 2024-02-16 12:35:14 +11:00
windfarm_pm121.c macintosh: windfarm_pm121: Convert to platform remove callback returning void 2024-02-16 12:35:14 +11:00
windfarm_rm31.c macintosh: windfarm_rm31: Convert to platform remove callback returning void 2024-02-16 12:35:15 +11:00
windfarm_smu_controls.c macintosh: Switch to use for_each_child_of_node() macro 2022-11-24 23:12:18 +11:00
windfarm_smu_sat.c macintosh: Switch i2c drivers back to use .probe() 2023-06-14 12:46:41 +10:00
windfarm_smu_sensors.c macintosh: windfarm: Use unsigned type for 1-bit bitfields 2023-02-16 10:16:31 +11:00