[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180417153307.3693-4-andresx7@gmail.com>
Date: Tue, 17 Apr 2018 11:33:01 -0400
From: Andres Rodriguez <andresx7@...il.com>
To: linux-kernel@...r.kernel.org
Cc: andresx7@...il.com, gregkh@...uxfoundation.org, mcgrof@...nel.org,
alexdeucher@...il.com, ckoenig.leichtzumerken@...il.com,
kvalo@...eaurora.org, arend.vanspriel@...adcom.com
Subject: [PATCH 3/9] firmware: add kernel-doc for enum fw_opt
Some basic definitions for the FW_OPT_* values
Signed-off-by: Andres Rodriguez <andresx7@...il.com>
---
drivers/base/firmware_loader/firmware.h | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/drivers/base/firmware_loader/firmware.h b/drivers/base/firmware_loader/firmware.h
index 957396293b92..8ef23c334135 100644
--- a/drivers/base/firmware_loader/firmware.h
+++ b/drivers/base/firmware_loader/firmware.h
@@ -10,6 +10,17 @@
#include <generated/utsrelease.h>
+/**
+ * enum fw_opt - options to control firmware loading behaviour
+ *
+ * @FW_OPT_UEVENT: Enable the uevent fallback path.
+ * @FW_OPT_NOWAIT: Executing inside an asynchronous firmware request.
+ * @FW_OPT_USERHELPER: Enable the usermode fallback path.
+ * @FW_OPT_NO_WARN: Quiet, avoid printing warning messages.
+ * @FW_OPT_NOCACHE: Firmware caching will be disabled for this request.
+ * @FW_OPT_NOFALLBACK: Disable the fallback path. Takes precedence over
+ * &FW_OPT_UEVENT and &FW_OPT_USERHELPER.
+ */
enum fw_opt {
FW_OPT_UEVENT = (1U << 0),
FW_OPT_NOWAIT = (1U << 1),
--
2.14.1
Powered by blists - more mailing lists