aboutsummaryrefslogtreecommitdiff
path: root/drivers/dma/sh/usb-dmac.c
diff options
context:
space:
mode:
authorJean Delvare2018-09-04 14:55:26 +0200
committerRafael J. Wysocki2018-09-06 12:16:29 +0200
commit5d128fbd8b20f8a48cb13c3eced789d1f9573ecd (patch)
treeb827bf41059de084b3cb89643d5f3802054e8373 /drivers/dma/sh/usb-dmac.c
parent57361846b52bc686112da6ca5368d11210796804 (diff)
ACPI / bus: Only call dmi_check_system() on X86
Calling dmi_check_system() early only works on X86. Other architectures initialize the DMI subsystem later so it's not ready yet when ACPI itself gets initialized. In the best case it results in a useless call to a function which will do nothing. But depending on the dmi implementation, it could also result in warnings. Best is to not call the function when it can't work and isn't needed. Additionally, if anyone ever needs to add non-x86 quirks, it would surprisingly not work, so document the limitation to avoid confusion. Signed-off-by: Jean Delvare <jdelvare@suse.de> Fixes: cce4f632db20 (ACPI: fix early DSDT dmi check warnings on ia64) Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/dma/sh/usb-dmac.c')
0 files changed, 0 insertions, 0 deletions