Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Documentation: fix few typos and clarifications for the firmware loader

Fix a few typos, and clarify a few sentences.

Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Luis R. Rodriguez <mcgrof@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Luis R. Rodriguez and committed by
Greg Kroah-Hartman
4fde24d4 1bc4d68b

+5 -4
+3 -2
Documentation/driver-api/firmware/fallback-mechanisms.rst
··· 83 83 * /sys/$DEVPATH/data 84 84 85 85 To upload firmware you will echo 1 onto the loading file to indicate 86 - you are loading firmware. You then cat the firmware into the data file, 86 + you are loading firmware. You then write the firmware into the data file, 87 87 and you notify the kernel the firmware is ready by echo'ing 0 onto 88 88 the loading file. 89 89 ··· 136 136 distributions today disable CONFIG_FW_LOADER_USER_HELPER_FALLBACK. 137 137 138 138 Refer to do_firmware_uevent() for details of the kobject event variables 139 - setup. Variables passwdd with a kobject add event: 139 + setup. The variables currently passed to userspace with a "kobject add" 140 + event are: 140 141 141 142 * FIRMWARE=firmware name 142 143 * TIMEOUT=timeout value
+2 -2
Documentation/driver-api/firmware/firmware_cache.rst
··· 29 29 * If an asynchronous call is used the firmware cache is only set up for a 30 30 device if if the second argument (uevent) to request_firmware_nowait() is 31 31 true. When uevent is true it requests that a kobject uevent be sent to 32 - userspace for the firmware request. For details refer to the Fackback 33 - mechanism documented below. 32 + userspace for the firmware request through the sysfs fallback mechanism 33 + if the firmware file is not found. 34 34 35 35 * If the firmware cache is determined to be needed as per the above two 36 36 criteria the firmware cache is setup by adding a devres entry for the