Skip to content

Commit 4fde24d

Browse files
mcgrofgregkh
authored andcommitted
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>
1 parent 1bc4d68 commit 4fde24d

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

‎Documentation/driver-api/firmware/fallback-mechanisms.rst‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ and a file upload firmware into:
8383
* /sys/$DEVPATH/data
8484

8585
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,
8787
and you notify the kernel the firmware is ready by echo'ing 0 onto
8888
the loading file.
8989

@@ -136,7 +136,8 @@ by kobject uevents. This is specially exacerbated due to the fact that most
136136
distributions today disable CONFIG_FW_LOADER_USER_HELPER_FALLBACK.
137137

138138
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:
140141

141142
* FIRMWARE=firmware name
142143
* TIMEOUT=timeout value

‎Documentation/driver-api/firmware/firmware_cache.rst‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ Some implementation details about the firmware cache setup:
2929
* If an asynchronous call is used the firmware cache is only set up for a
3030
device if if the second argument (uevent) to request_firmware_nowait() is
3131
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.
3434

3535
* If the firmware cache is determined to be needed as per the above two
3636
criteria the firmware cache is setup by adding a devres entry for the

0 commit comments

Comments
 (0)