diff options
author | Jonathan Neuschäfer <j.neuschaefer@gmx.net> | 2019-04-30 10:56:10 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-05-01 12:31:11 -0400 |
commit | bbabc3fb2b6344577ee1a43d28355bf788e9b4a2 (patch) | |
tree | 6d154b208444db72332a4e0b5cfb1fe2600e6816 | |
parent | 3d378dc713f3ff4951d9a50c6a815f011e59da10 (diff) |
firmware_loader: Fix a typo ("syfs" -> "sysfs")
"sysfs" was misspelled in a comment and a log message.
Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Reviewed-by: Mukesh Ojha <mojha@codeaurora.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/base/firmware_loader/fallback.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/base/firmware_loader/fallback.c b/drivers/base/firmware_loader/fallback.c index b5c865fe263b..f962488546b6 100644 --- a/drivers/base/firmware_loader/fallback.c +++ b/drivers/base/firmware_loader/fallback.c | |||
@@ -674,8 +674,8 @@ static bool fw_run_sysfs_fallback(enum fw_opt opt_flags) | |||
674 | * | 674 | * |
675 | * This function is called if direct lookup for the firmware failed, it enables | 675 | * This function is called if direct lookup for the firmware failed, it enables |
676 | * a fallback mechanism through userspace by exposing a sysfs loading | 676 | * a fallback mechanism through userspace by exposing a sysfs loading |
677 | * interface. Userspace is in charge of loading the firmware through the syfs | 677 | * interface. Userspace is in charge of loading the firmware through the sysfs |
678 | * loading interface. This syfs fallback mechanism may be disabled completely | 678 | * loading interface. This sysfs fallback mechanism may be disabled completely |
679 | * on a system by setting the proc sysctl value ignore_sysfs_fallback to true. | 679 | * on a system by setting the proc sysctl value ignore_sysfs_fallback to true. |
680 | * If this false we check if the internal API caller set the @FW_OPT_NOFALLBACK | 680 | * If this false we check if the internal API caller set the @FW_OPT_NOFALLBACK |
681 | * flag, if so it would also disable the fallback mechanism. A system may want | 681 | * flag, if so it would also disable the fallback mechanism. A system may want |
@@ -693,7 +693,7 @@ int firmware_fallback_sysfs(struct firmware *fw, const char *name, | |||
693 | return ret; | 693 | return ret; |
694 | 694 | ||
695 | if (!(opt_flags & FW_OPT_NO_WARN)) | 695 | if (!(opt_flags & FW_OPT_NO_WARN)) |
696 | dev_warn(device, "Falling back to syfs fallback for: %s\n", | 696 | dev_warn(device, "Falling back to sysfs fallback for: %s\n", |
697 | name); | 697 | name); |
698 | else | 698 | else |
699 | dev_dbg(device, "Falling back to sysfs fallback for: %s\n", | 699 | dev_dbg(device, "Falling back to sysfs fallback for: %s\n", |