linux-stable/drivers/macintosh
Finn Thain d43a8c7ec0 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-06-12 11:11:47 +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
adb-iop.c
adb.c modules-6.4-rc1 2023-04-27 16:36:55 -07:00
adbhid.c
ans-lcd.c
ans-lcd.h
apm_emu.c
mac_hid.c
macio-adb.c
macio_asic.c macintosh: Explicitly include correct DT includes 2023-08-28 13:36:24 -05:00
macio_sysfs.c
mediabay.c
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-06-12 11:11:47 +02:00
via-pmu-backlight.c
via-pmu-event.c
via-pmu-event.h
via-pmu-led.c
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
windfarm_cpufreq_clamp.c
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
windfarm_pid.c
windfarm_pid.h
windfarm_pm72.c
windfarm_pm81.c
windfarm_pm91.c
windfarm_pm112.c
windfarm_pm121.c
windfarm_rm31.c
windfarm_smu_controls.c
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