mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-13 07:31:07 +00:00
ARM: amba: Fix race condition with driver_override
commit6a7228d90dupstream. 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. commits6265539776("driver core: platform: fix race condition with driver_override") and9561475db6("PCI: Fix race condition with driver_override"). Fixes:3cf3857134("ARM: 8256/1: driver coamba: add device binding path 'driver_override'") Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: Todd Kjos <tkjos@google.com> Cc: stable <stable@vger.kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
bcd73c772e
commit
23abff7b98
1 changed files with 9 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue