[PATCHv2 0/2] Avoid firmware warning in imx-sdma

From: Sebastian Reichel
Date: Wed Jul 04 2018 - 12:05:16 EST


I grabbed the first patch from patchwork from an 2017 patch series. As far as I
could see, their usecase vanished due to switching to sync FW API (that already
supports NOWARN). This series fixes a kernel warning in imx-sdma driver, which
works fine with ROM firmware (and already prints an info message about ROM
firmware being used due to missing firmware file). This has been tested on

Changes since PATCHv2:
* Provide request_firmware_nowait_nowarn instead of generic function with
flags as suggested by Luis [0]

[0] https://lore.kernel.org/lkml/20180628031332.GE21242@xxxxxxxxxxxxx/

-- Sebastian

Sebastian Reichel (2):
firmware: add request_firmware_nowait_nowarn function
dmaengine: imx-sdma: request firmware with FW_OPT_NO_WARN

drivers/base/firmware_loader/main.c | 40 ++++++++++++++++++++++++-----
drivers/dma/imx-sdma.c | 10 +++-----
include/linux/firmware.h | 12 +++++++++
3 files changed, 48 insertions(+), 14 deletions(-)