diff options
| author | Chen Ni <nichen@iscas.ac.cn> | 2026-02-27 09:43:36 +0800 |
|---|---|---|
| committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2026-03-11 16:19:50 +0100 |
| commit | b7c0982184b0661f5b1b805f3a56f1bd3757b63e (patch) | |
| tree | af29e69e4ad36b900d9ebf162d712c44d9f3f7ff /include/linux/timerqueue.h | |
| parent | 16d68d10f5b934db7ee02a1e28cbc539905c64b8 (diff) | |
mtd: physmap_of_gemini: Fix disabled pinctrl state check
The condition for checking the disabled pinctrl state incorrectly checks
gf->enabled_state instead of gf->disabled_state. This causes misleading
error messages and could lead to incorrect behavior when only one of the
pinctrl states is defined.
Fix the condition to properly check gf->disabled_state.
Fixes: 9d3b5086f6d4 ("mtd: physmap_of_gemini: Handle pin control")
Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
Reviewed-by: Linus Walleij <linusw@kernel.org>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
