usb: core: Make default authorization mode configurable
authorNiko Mauno <niko.mauno@vaisala.com>
Fri, 5 Jan 2024 11:49:56 +0000 (13:49 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 28 Jan 2024 01:35:49 +0000 (17:35 -0800)
commitbec7e43b162c58798e6dc30d8e70d1e2318aaf2d
treea4ef19bd5c92597e7e127db2cbfd8248daed413a
parentaa6e11e9a792997a183d3b6936b01601233c570d
usb: core: Make default authorization mode configurable

Make the default USB device authorization mode configurable at build
time. This is useful for systems that require a mode that is stricter
than the standard setting, as it avoids relying on the kernel command
line being properly set.

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Link: https://lore.kernel.org/r/20240105114956.30714-2-niko.mauno@vaisala.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/core/Kconfig
drivers/usb/core/hcd.c