We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6bc9f42 commit 9fe1617Copy full SHA for 9fe1617
drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c
@@ -17,6 +17,7 @@
17
#include <linux/pm_runtime.h>
18
#include <linux/pinctrl/consumer.h>
19
#include <linux/dma/mxs-dma.h>
20
+#include <linux/string_choices.h>
21
#include "gpmi-nand.h"
22
#include "gpmi-regs.h"
23
#include "bch-regs.h"
@@ -2319,8 +2320,8 @@ static int gpmi_nand_attach_chip(struct nand_chip *chip)
2319
2320
"fsl,no-blockmark-swap"))
2321
this->swap_block_mark = false;
2322
}
- dev_dbg(this->dev, "Blockmark swapping %sabled\n",
2323
- this->swap_block_mark ? "en" : "dis");
+ dev_dbg(this->dev, "Blockmark swapping %s\n",
2324
+ str_enabled_disabled(this->swap_block_mark));
2325
2326
ret = gpmi_init_last(this);
2327
if (ret)
0 commit comments