public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] clk: Some fixes for the per-user clk API changes.
@ 2015-02-12 13:58 Javier Martinez Canillas
  2015-02-12 13:58 ` [PATCH v2 1/3] clk: Don't dereference parent clock if is NULL Javier Martinez Canillas
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Javier Martinez Canillas @ 2015-02-12 13:58 UTC (permalink / raw)
  To: Mike Turquette
  Cc: Stephen Boyd, Tomeu Vizoso, Emilio López, Peter De Schrijver,
	Robert Jarzmik, Giuseppe Cavallaro, linux-samsung-soc,
	linux-kernel, Javier Martinez Canillas

Hello,

This is a v2 of a series to fix some issues found on linux-next after the
per-user clk API changes were introduced. Booting an Exynos5420 Peach Pit
Chromebook and using a composite clock makes the system to crash due a
NULL pointer dereference error.

A previous version of the series is [0] and this addresses issues pointed
out by Stephen Boyd.

This series is composed of the following patches:

Javier Martinez Canillas (3):
  clk: Don't dereference parent clock if is NULL
  clk: Add __clk_hw_set_clk helper function
  clk: Replace explicit clk assignment with __clk_hw_set_clk

 drivers/clk/clk-composite.c    | 20 ++++++++++----------
 drivers/clk/clk.c              |  4 ++--
 drivers/clk/pxa/clk-pxa.c      |  2 +-
 drivers/clk/st/clk-flexgen.c   | 20 ++++++++++----------
 drivers/clk/st/clkgen-mux.c    | 14 +++++++-------
 drivers/clk/tegra/clk-periph.c | 14 +++++++-------
 include/linux/clk-provider.h   |  6 ++++++
 7 files changed, 43 insertions(+), 37 deletions(-)

Best regards,
Javier

[0]: https://lkml.org/lkml/2015/2/11/139

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2015-02-13  7:28 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-12 13:58 [PATCH v2 0/3] clk: Some fixes for the per-user clk API changes Javier Martinez Canillas
2015-02-12 13:58 ` [PATCH v2 1/3] clk: Don't dereference parent clock if is NULL Javier Martinez Canillas
2015-02-12 19:00   ` Stephen Boyd
2015-02-12 13:58 ` [PATCH v2 2/3] clk: Add __clk_hw_set_clk helper function Javier Martinez Canillas
2015-02-12 19:55   ` Stephen Boyd
2015-02-13  7:28     ` Javier Martinez Canillas
2015-02-12 13:58 ` [PATCH v2 3/3] clk: Replace explicit clk assignment with __clk_hw_set_clk Javier Martinez Canillas
2015-02-12 16:12   ` Robert Jarzmik
2015-02-12 19:55   ` Stephen Boyd
2015-02-13  7:23     ` Javier Martinez Canillas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox