Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ARM: amba: Fix race condition with driver_override
The driver_override implementation is susceptible to a race condition when different threads are reading vs storing a different driver override. Add locking to avoid this race condition. Cfr. commits 6265539 ("driver core: platform: fix race condition with driver_override") and 9561475 ("PCI: Fix race condition with driver_override"). Fixes: 3cf3857 ("ARM: 8256/1: driver coamba: add device binding path 'driver_override'") Signed-off-by: Geert Uytterhoeven <[email protected]> Reviewed-by: Todd Kjos <[email protected]> Cc: stable <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
- Loading branch information