]> www.infradead.org Git - users/dwmw2/linux.git/commit
firmware: add nowarn variant of request_firmware_nowait()
authorLucas Stach <l.stach@pengutronix.de>
Thu, 16 May 2024 10:25:31 +0000 (12:25 +0200)
committerVinod Koul <vkoul@kernel.org>
Fri, 7 Jun 2024 17:44:45 +0000 (23:14 +0530)
commit11c63e57404e538c5df91f732e5d505860edb660
treee9b3590d9cd82f56c6ce8795dd1d1c6fd84c403f
parent45a24e40581db95f9c7ee08e0f27874daf7d3e7b
firmware: add nowarn variant of request_firmware_nowait()

Device drivers with optional firmware may still want to use the
asynchronous firmware loading interface. To avoid printing a
warning into the kernel log when the optional firmware is
absent, add a nowarn variant of this interface.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Luis Chamberlain <mcgrof@kernel.org>
Link: https://lore.kernel.org/r/20240516102532.213874-1-l.stach@pengutronix.de
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/base/firmware_loader/main.c
include/linux/firmware.h