diff options
author | Oliver Neukum <[email protected]> | 2024-09-12 14:32:59 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2024-09-13 07:54:23 +0200 |
commit | 8265d06b7794493d82c5c21a12d7ba43eccc30cb (patch) | |
tree | 6b504e125429b64244ce245964162369954c6a55 /lib/crypto/mpi/mpi-sub-ui.c | |
parent | b41c1fa155ba56d125885b0191aabaf3c508d0a3 (diff) |
USB: appledisplay: close race between probe and completion handler
There is a small window during probing when IO is running
but the backlight is not registered. Processing events
during that time will crash. The completion handler
needs to check for a backlight before scheduling work.
The bug is as old as the driver.
Signed-off-by: Oliver Neukum <[email protected]>
CC: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions