<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/drivers/clk/clk-gpio.c, branch v4.4.27</title>
<subtitle>Linux kernel for Apalis and Colibri modules</subtitle>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/'/>
<entry>
<title>clk: gpio: Get parent clk names in of_gpio_clk_setup()</title>
<updated>2015-11-19T01:19:01+00:00</updated>
<author>
<name>Jyri Sarha</name>
<email>jsarha@ti.com</email>
</author>
<published>2015-11-17T09:56:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=f66541ba02d5cb619b84fa4c5b43b3bcc8764716'/>
<id>f66541ba02d5cb619b84fa4c5b43b3bcc8764716</id>
<content type='text'>
Get parent clk names in of_gpio_clk_setup() and store the names
in struct clk_gpio_delayed_register_data instead of doing it from
the clk provider's get() callback. of_clk_get_parent_name() can't
be called in struct of_clk_provider's get() callback since it may
make a call to of_clk_get_from_provider() and this in turn tries
to recursively lock of_clk_mutex.

Signed-off-by: Jyri Sarha &lt;jsarha@ti.com&gt;
Cc: Sergej Sawazki &lt;ce3a@gmx.de&gt;
Fixes: 0a4807c2f9a4 ("clk: Make of_clk_get_parent_name() robust with #clock-cells = 1")
Signed-off-by: Stephen Boyd &lt;sboyd@codeaurora.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Get parent clk names in of_gpio_clk_setup() and store the names
in struct clk_gpio_delayed_register_data instead of doing it from
the clk provider's get() callback. of_clk_get_parent_name() can't
be called in struct of_clk_provider's get() callback since it may
make a call to of_clk_get_from_provider() and this in turn tries
to recursively lock of_clk_mutex.

Signed-off-by: Jyri Sarha &lt;jsarha@ti.com&gt;
Cc: Sergej Sawazki &lt;ce3a@gmx.de&gt;
Fixes: 0a4807c2f9a4 ("clk: Make of_clk_get_parent_name() robust with #clock-cells = 1")
Signed-off-by: Stephen Boyd &lt;sboyd@codeaurora.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>clk: gpio: Mark parent_names array const</title>
<updated>2015-07-28T18:59:24+00:00</updated>
<author>
<name>Stephen Boyd</name>
<email>sboyd@codeaurora.org</email>
</author>
<published>2015-07-24T16:31:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=37bff2c159a3629b592e54162239cb8c337c965d'/>
<id>37bff2c159a3629b592e54162239cb8c337c965d</id>
<content type='text'>
Let's encourage const arrays of parent names like other basic
clock types.

Cc: Sergej Sawazki &lt;ce3a@gmx.de&gt;
Signed-off-by: Stephen Boyd &lt;sboyd@codeaurora.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Let's encourage const arrays of parent names like other basic
clock types.

Cc: Sergej Sawazki &lt;ce3a@gmx.de&gt;
Signed-off-by: Stephen Boyd &lt;sboyd@codeaurora.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>clk: gpio: Unlock mutex on error path</title>
<updated>2015-07-28T18:51:39+00:00</updated>
<author>
<name>Stephen Boyd</name>
<email>sboyd@codeaurora.org</email>
</author>
<published>2015-07-14T19:45:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=c5e857a46af24a772f445edcc01a861ee2d6a713'/>
<id>c5e857a46af24a772f445edcc01a861ee2d6a713</id>
<content type='text'>
We don't unlock the mutex if we fail to allocate the parent names
array. Unlock it and return an error in this case as well.

Reported-by: kbuild test robot &lt;fengguang.wu@intel.com&gt;
Acked-by: Julia Lawall &lt;julia.lawall@lip6.fr&gt;
Cc: Sergej Sawazki &lt;ce3a@gmx.de&gt;
Signed-off-by: Stephen Boyd &lt;sboyd@codeaurora.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We don't unlock the mutex if we fail to allocate the parent names
array. Unlock it and return an error in this case as well.

Reported-by: kbuild test robot &lt;fengguang.wu@intel.com&gt;
Acked-by: Julia Lawall &lt;julia.lawall@lip6.fr&gt;
Cc: Sergej Sawazki &lt;ce3a@gmx.de&gt;
Signed-off-by: Stephen Boyd &lt;sboyd@codeaurora.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>clk: Rename clk-gpio-gate.c to clk-gpio.c</title>
<updated>2015-07-07T00:20:55+00:00</updated>
<author>
<name>Sergej Sawazki</name>
<email>ce3a@gmx.de</email>
</author>
<published>2015-06-28T14:24:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=bb68a4f1e5ef7f2cebe84c57e465afa68a6ab911'/>
<id>bb68a4f1e5ef7f2cebe84c57e465afa68a6ab911</id>
<content type='text'>
The file clk-gpio-gate.c does not only contain the gate clock, but also
the mux clock. Rename the file to clk-gpio.c.

Cc: Jyri Sarha &lt;jsarha@ti.com&gt;
Signed-off-by: Sergej Sawazki &lt;ce3a@gmx.de&gt;
Signed-off-by: Stephen Boyd &lt;sboyd@codeaurora.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The file clk-gpio-gate.c does not only contain the gate clock, but also
the mux clock. Rename the file to clk-gpio.c.

Cc: Jyri Sarha &lt;jsarha@ti.com&gt;
Signed-off-by: Sergej Sawazki &lt;ce3a@gmx.de&gt;
Signed-off-by: Stephen Boyd &lt;sboyd@codeaurora.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
