[lkml]   [2019]   [Apr]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH v4 2/9] clkdev: Move clk creation outside of 'clocks_mutex'
Quoting Stephen Boyd (2019-04-12 11:31:43)
> We don't need to hold the 'clocks_mutex' here when we're creating a clk
> pointer from a clk_lookup structure. Instead, we just need to make sure
> that the lookup doesn't go away while we dereference the lookup pointer
> to extract the clk_hw pointer out of it. Let's move things around
> slightly so that we have a new function to get the clk_hw out of the
> lookup with the right locking and then chain the two together for what
> used to be __clk_get_sys().
> Cc: Miquel Raynal <>
> Cc: Jerome Brunet <>
> Cc: Russell King <>
> Cc: Michael Turquette <>
> Cc: Jeffrey Hugo <>
> Cc: Chen-Yu Tsai <>
> Signed-off-by: Stephen Boyd <>
> ---

Applied to clk-next

 \ /
  Last update: 2019-04-20 00:14    [W:0.206 / U:0.920 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site