Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1518237

[PATCH v2 2/2] pinctrl: single: search for the bits property when parsing bits

From Axel Haslam <ahaslam@baylibre.com>
Newsgroups linux.kernel
Subject [PATCH v2 2/2] pinctrl: single: search for the bits property when parsing bits
Date 2016-11-09 16:00 +0100
Message-ID <sBCw2-el-33@gated-at.bofh.it> (permalink)
References <sBCw2-el-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


The pcs_parse_bits_in_pinctrl_entry function should search
for the "pinctrl-single,bits" and not "pinctrl-single,pins"

Signed-off-by: Axel Haslam <ahaslam@baylibre.com>
---
 drivers/pinctrl/pinctrl-single.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/pinctrl/pinctrl-single.c b/drivers/pinctrl/pinctrl-single.c
index f36a9f1..2b196e5 100644
--- a/drivers/pinctrl/pinctrl-single.c
+++ b/drivers/pinctrl/pinctrl-single.c
@@ -1223,7 +1223,7 @@ static int pcs_parse_bits_in_pinctrl_entry(struct pcs_device *pcs,
 						unsigned *num_maps,
 						const char **pgnames)
 {
-	const char *name = "pinctrl-single,pins";
+	const char *name = "pinctrl-single,bits";
 	struct pcs_func_vals *vals;
 	int rows, *pins, found = 0, res = -ENOMEM, i;
 	int npins_in_row;
-- 
2.10.1

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v2 0/2] pinctrl: single: fixes for davinci Axel Haslam <ahaslam@baylibre.com> - 2016-11-09 16:00 +0100
  [PATCH v2 2/2] pinctrl: single: search for the bits property when parsing bits Axel Haslam <ahaslam@baylibre.com> - 2016-11-09 16:00 +0100
  Re: [PATCH v2 0/2] pinctrl: single: fixes for davinci Tony Lindgren <tony@atomide.com> - 2016-11-09 16:30 +0100

csiph-web