linux-stable/drivers/macintosh
Finn Thain 5900a88e89 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:49:17 +02:00
..
ams powerpc updates for 6.6 2023-08-31 12:43:10 -07:00
Kconfig macintosh: via-pmu-led: requires ATA to be set 2023-03-30 23:36:34 +11:00
Makefile macintosh/via-pmu: Fix build failure when CONFIG_INPUT is disabled 2022-05-22 15:58:30 +10:00
adb-iop.c macintosh/adb-iop: Use big-endian autopoll mask 2021-01-25 13:23:38 +01:00
adb.c modules-6.4-rc1 2023-04-27 16:36:55 -07: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 misc: cleanup minor number definitions in c file into miscdevice.h 2020-03-18 12:27:03 +01:00
apm_emu.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 118 2019-05-24 17:39:02 +02: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 macintosh: Explicitly include correct DT includes 2023-08-28 13:36:24 -05:00
macio_sysfs.c macintosh: Prepare cleanup of powerpc's asm/prom.h 2022-05-11 23:06:39 +10:00
mediabay.c macintosh: Prepare cleanup of powerpc's asm/prom.h 2022-05-11 23:06:39 +10:00
rack-meter.c macintosh: Use of_property_present() for testing DT property presence 2023-03-30 23:36:35 +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: Explicitly include correct DT includes 2023-08-28 13:36:24 -05: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:49:17 +02:00
via-pmu-backlight.c macintosh/via-pmu-backlight: Use backlight helper 2022-11-24 23:12:17 +11: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 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 246 2019-06-19 17:09:08 +02:00
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 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 246 2019-06-19 17:09:08 +02:00
windfarm_pid.h macintosh/windfarm_pid: Add header file macro definition 2022-11-24 23:12:18 +11:00
windfarm_pm72.c macintosh: Prepare cleanup of powerpc's asm/prom.h 2022-05-11 23:06:39 +10:00
windfarm_pm81.c macintosh/windfarm_pm81: Fix warning comparing pointer to 0 2022-11-24 23:12:17 +11:00
windfarm_pm91.c macintosh/windfarm_pm91: Fix warning comparing pointer to 0 2022-11-24 23:12:17 +11:00
windfarm_pm112.c macintosh: Prepare cleanup of powerpc's asm/prom.h 2022-05-11 23:06:39 +10:00
windfarm_pm121.c macintosh/windfarm_pm121: Fix warning comparing pointer to 0 2022-11-24 23:12:17 +11:00
windfarm_rm31.c macintosh: Prepare cleanup of powerpc's asm/prom.h 2022-05-11 23:06:39 +10: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