<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/pinctrl, branch v3.3</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/drivers/pinctrl?h=v3.3</id>
<link rel='self' href='https://git.amat.us/linux/atom/drivers/pinctrl?h=v3.3'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2012-02-01T18:35:21Z</updated>
<entry>
<title>pinctrl: restore pin naming</title>
<updated>2012-02-01T18:35:21Z</updated>
<author>
<name>Linus Walleij</name>
<email>linus.walleij@linaro.org</email>
</author>
<published>2012-02-01T17:11:40Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=8dc6ae4d448758a30cf5fa822d6fe6f4e15a04c6'/>
<id>urn:sha1:8dc6ae4d448758a30cf5fa822d6fe6f4e15a04c6</id>
<content type='text'>
Commit ca53c5f1ca5c936777caca46b7c716a40682ce83
("pinctrl: conjure names for unnamed pins") made pins lose
their identity and only get autogenerated names.

Acked-by: Stephen Warren &lt;swarren@nvidia.com&gt;
Signed-off-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
</content>
</entry>
<entry>
<title>pinctrl: add checks for empty function names</title>
<updated>2012-01-26T13:13:11Z</updated>
<author>
<name>Tony Lindgren</name>
<email>tony@atomide.com</email>
</author>
<published>2012-01-25T00:28:08Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=b9130b776ee481acbc27a7e56d98df75680de369'/>
<id>urn:sha1:b9130b776ee481acbc27a7e56d98df75680de369</id>
<content type='text'>
This is needed as otherwise we can get the following when
dealing with buggy data in a pinmux driver for
pinmux_search_function:

Unable to handle kernel NULL pointer dereference at virtual
address 00000000
...
PC is at strcmp+0xc/0x34
LR is at pinmux_get+0x350/0x8f4
...

As we need pctldev initialized to call ops-&gt;list_functions,
let's initialize it before check_ops calls and pass the
pctldev to the check_ops functions. Do this for both pinmux
and pinconf check_ops functions.

Signed-off-by: Tony Lindgren &lt;tony@atomide.com&gt;
Signed-off-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
</content>
</entry>
<entry>
<title>pinctrl: fix pinmux_hog_maps when ctrl_dev_name is not set</title>
<updated>2012-01-26T13:13:05Z</updated>
<author>
<name>Tony Lindgren</name>
<email>tony@atomide.com</email>
</author>
<published>2012-01-20T15:43:53Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=9e2551e10b5c7ba550849bd9ed519e498cc30e68'/>
<id>urn:sha1:9e2551e10b5c7ba550849bd9ed519e498cc30e68</id>
<content type='text'>
The ctrl_dev_name is optional for struct pinmux_map assuming
that ctrl_dev is set. Without this patch we can get:

Unable to handle kernel NULL pointer dereference at virtual
address 00000000
...
(pinmux_hog_maps+0xa4/0x20c)
(pinctrl_register+0x2a4/0x378)
...

Fix this by adding adding a test for map-&gt;ctrl_dev.
Additionally move the test for map-&gt;ctrl_dev earlier
to optimize out the loop a bit.

Signed-off-by: Tony Lindgren &lt;tony@atomide.com&gt;
Acked-by: Stephen Warren &lt;swarren@nvidia.com&gt;
Signed-off-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
</content>
</entry>
<entry>
<title>pinctrl: fix some pinmux typos</title>
<updated>2012-01-26T13:11:31Z</updated>
<author>
<name>Tony Lindgren</name>
<email>tony@atomide.com</email>
</author>
<published>2012-01-20T16:17:33Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=de849eecd0addaa6bf60f2f7be36b30abf9ff2ae'/>
<id>urn:sha1:de849eecd0addaa6bf60f2f7be36b30abf9ff2ae</id>
<content type='text'>
Fix some pinmux typos so implementing pinmux drivers
is a bit easier.

Signed-off-by: Tony Lindgren &lt;tony@atomide.com&gt;
Signed-off-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
</content>
</entry>
<entry>
<title>pinctrl: free debugfs entries when unloading a pinmux driver</title>
<updated>2012-01-24T22:03:02Z</updated>
<author>
<name>Tony Lindgren</name>
<email>tony@atomide.com</email>
</author>
<published>2012-01-20T16:17:22Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=0215716083cac67ff7ea3e3efdc9943bdb462274'/>
<id>urn:sha1:0215716083cac67ff7ea3e3efdc9943bdb462274</id>
<content type='text'>
We were not cleaning up properly after unloading a pinmux
driver compiled as module.

Signed-off-by: Tony Lindgren &lt;tony@atomide.com&gt;
Signed-off-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
</content>
</entry>
<entry>
<title>pinctrl: unbreak error messages</title>
<updated>2012-01-24T21:47:46Z</updated>
<author>
<name>Uwe Kleine-König</name>
<email>u.kleine-koenig@pengutronix.de</email>
</author>
<published>2012-01-19T21:42:48Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=f9d41d7cb5a3a4fe9585d47e518d779d2aef8c94'/>
<id>urn:sha1:f9d41d7cb5a3a4fe9585d47e518d779d2aef8c94</id>
<content type='text'>
It's better to not line break error messages to allow easier grepping
for them even when the line gets &gt;80 chars. Additionally some minor
reformating is done.

Signed-off-by: Uwe Kleine-König &lt;u.kleine-koenig@pengutronix.de&gt;
Signed-off-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
</content>
</entry>
<entry>
<title>pinctrl: fix pinconf_pins_show iteration</title>
<updated>2012-01-20T16:55:49Z</updated>
<author>
<name>Stephen Warren</name>
<email>swarren@nvidia.com</email>
</author>
<published>2012-01-06T20:38:31Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=546edd83abe4f03472d721c60011c5ff95e25474'/>
<id>urn:sha1:546edd83abe4f03472d721c60011c5ff95e25474</id>
<content type='text'>
Commit 706e852 "pinctrl: correct a offset while enumerating pins"
modified the variable used by pinconf_pin_show()'s for loop, but didn't
update the for loop test expression.

Signed-off-by: Stephen Warren &lt;swarren@nvidia.com&gt;
Signed-off-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
</content>
</entry>
<entry>
<title>pinctrl: remove unnecessary max pin number</title>
<updated>2012-01-03T08:10:09Z</updated>
<author>
<name>Chanho Park</name>
<email>chanho61.park@samsung.com</email>
</author>
<published>2012-01-03T07:47:51Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=0d2006bbf09e817f125ba1e42b2549bc2c5d7351'/>
<id>urn:sha1:0d2006bbf09e817f125ba1e42b2549bc2c5d7351</id>
<content type='text'>
This patch removes maxpin member in the pin control descriptor
because we don't need this value as we enumerate a pin space
using offset.

Signed-off-by: Chanho Park &lt;chanho61.park@samsung.com&gt;
Signed-off-by: Kyungmin Park &lt;kyungmin.park@samsung.com&gt;
Signed-off-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
</content>
</entry>
<entry>
<title>pinctrl: correct a offset while enumerating pins</title>
<updated>2012-01-03T08:10:09Z</updated>
<author>
<name>Chanho Park</name>
<email>chanho61.park@samsung.com</email>
</author>
<published>2012-01-03T07:47:50Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=706e8520e8450a631ca6f798f8c811faf56f0a59'/>
<id>urn:sha1:706e8520e8450a631ca6f798f8c811faf56f0a59</id>
<content type='text'>
This patch modifies a offset while enumerating pins to support a
partial pin space. If we use a pin number for enumerating pins,
the pin space always starts with zero base. Indeed, we always check
the pin is in the pin space. An extreme example, there is only two pins.
One is 0. Another is 1000. We always enumerate whole offsets until 1000.
For solving this problem, we use the offset of the pin array instead
of the zero-based pin number.

Signed-off-by: Chanho Park &lt;chanho61.park@samsung.com&gt;
Signed-off-by: Kyungmin Park &lt;kyungmin.park@samsung.com&gt;
[Restored sparse pin space comment]
Signed-off-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
</content>
</entry>
<entry>
<title>pinctrl: some typo fixes</title>
<updated>2012-01-03T08:10:08Z</updated>
<author>
<name>Dong Aisheng</name>
<email>dong.aisheng@linaro.org</email>
</author>
<published>2011-12-20T09:51:59Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=e6337c3c96a7ee5cfd5e7afed825f894d4576f58'/>
<id>urn:sha1:e6337c3c96a7ee5cfd5e7afed825f894d4576f58</id>
<content type='text'>
Minor copyedits.

Signed-off-by: Dong Aisheng &lt;dong.aisheng@linaro.org&gt;
Signed-off-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
</content>
</entry>
</feed>
