aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorLinus Torvalds <[email protected]>2012-10-03 15:58:32 -0700
committerLinus Torvalds <[email protected]>2012-10-03 15:58:32 -0700
commitabb139e75c2cdbb955e840d6331cb5863e409d0e (patch)
tree2b6c986488d3a2444095153b167c0e0f82a0b487 /lib/mpi/mpiutil.c
parentdf5a2a1fbca44bebeebb78530ac93c734f289707 (diff)
firmware: teach the kernel to load firmware files directly from the filesystem
This is a first step in allowing people to by-pass udev for loading device firmware. Current versions of udev will deadlock (causing us to block for the 30 second timeout) under some circumstances if the firmware is loaded as part of the module initialization path, and this is causing problems for media drivers in particular. The current patch hardcodes the firmware path that udev uses by default, and will fall back to the legacy udev mode if the firmware cannot be found there. We'd like to add support for both configuring the paths and the fallback behaviour, but in the meantime this hopefully fixes the immediate problem, while also giving us a way forward. [ v2: Some VFS layer interface cleanups suggested by Al Viro ] [ v3: use the default udev paths suggested by Kay Sievers ] Suggested-by: Ivan Kalvachev <[email protected]> Acked-by: Greg KH <[email protected]> Acked-by: Al Viro <[email protected]> Cc: Mauro Carvalho Chehab <[email protected]> Cc: Kay Sievers <[email protected]> Cc: Ming Lei <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions