summaryrefslogtreecommitdiffstats
path: root/drivers/firmware
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-09-21 09:06:42 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-09-21 09:06:42 +0200
commit629b9111535f2a2607bbea1599d285a25f32835d (patch)
tree81a37df4e13842d5ea3d54b619e929e2b6e9ffed /drivers/firmware
parentusb: xhci: add debugfs support for ep with stream (diff)
parentLinux 5.9-rc6 (diff)
downloadlinux-629b9111535f2a2607bbea1599d285a25f32835d.tar.xz
linux-629b9111535f2a2607bbea1599d285a25f32835d.zip
Merge 5.0-rc6 into usb-next
We want the USB fixes in here, and this resolves a merge issue in the uas driver. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/firmware')
-rw-r--r--drivers/firmware/efi/efibc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/firmware/efi/efibc.c b/drivers/firmware/efi/efibc.c
index 35dccc88ac0a..15a47539dc56 100644
--- a/drivers/firmware/efi/efibc.c
+++ b/drivers/firmware/efi/efibc.c
@@ -84,7 +84,7 @@ static int __init efibc_init(void)
{
int ret;
- if (!efi_enabled(EFI_RUNTIME_SERVICES))
+ if (!efivars_kobject() || !efivar_supports_writes())
return -ENODEV;
ret = register_reboot_notifier(&efibc_reboot_notifier);