Denys Dmytriyenko : eudev: immediately tell kernel that userspace FW loading failed
Module: meta-ti Branch: master Commit: 4b96409bccb7a674ab0cd0b31a540480bf13d2be URL: http://arago-project.org/git/meta-ti.git?a=commit;h=4b96409bccb7a674ab0cd0b31a540480bf13d2be
Author: Denys Dmytriyenko <[email protected]> Date: Sat Apr 30 04:14:51 2016 +0000
eudev: immediately tell kernel that userspace FW loading failed
Signed-off-by Denys Dmytriyenko <[email protected]>
---
recipes-core/udev/eudev/firmware.rules | 3 +++ recipes-core/udev/eudev_%.bbappend | 7 +++++-- 2 files changed, 8 insertions(+), 2 deletions(-)
recipes-core/udev/eudev/firmware.rules new file +3 -0
@@ -0,0 +1,3 @@ +# stub for immediately telling the kernel that userspace firmware loading +# failed; necessary to avoid long timeouts with CONFIG_FW_LOADER_USER_HELPER=y +SUBSYSTEM=="firmware", ACTION=="add", ATTR{loading}="-1"
recipes-core/udev/eudev_%.bbappend +5 -2
@@ -1,8 +1,11 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" -SRC_URI_append = " file://omap-tty.rules" +SRC_URI_append = " \ + file://omap-tty.rules \ + file://firmware.rules \ +" -PR_append = ".1" +PR_append = ".2" install_omap_rules() { install -m 0644 ${WORKDIR}/omap-tty.rules ${D}${sysconfdir}/udev/rules.d/