]> git.baikalelectronics.ru Git - kernel.git/commit
firmware: Suppress fallback warnings when CONFIG_FW_LOADER_USER_HELPER=n
authorTakashi Iwai <tiwai@suse.de>
Mon, 2 Dec 2013 14:38:19 +0000 (15:38 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 9 Dec 2013 02:22:33 +0000 (18:22 -0800)
commit0c9df151c2377f93b441b92a8c7fa61822431e58
treecdd99f95c8c79095b11e72d06a7375fd59abe5b0
parent22771e82ba5250160969a56bd914447a15b3de75
firmware: Suppress fallback warnings when CONFIG_FW_LOADER_USER_HELPER=n

The commit [10e269e9abb6: firmware: Be a bit more verbose about direct
firmware loading failure] introduced a new warning message about
falling back to user helper, but this isn't true when
CONFIG_FW_LOADER_USER_HELPER isn't set.

In this patch, clear the FW_OPT_FALLBACK flag in the case without
userhelper, so that the corresponding code will be disabled.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/firmware_class.c