[PATCH 7/8] ASoC: fsl_spdif: fix struct clk pointer comparing

2015-02-26 Thread Mark Brown
On Wed, Feb 25, 2015 at 10:53:37PM +0800, Shawn Guo wrote: > Since commit 035a61c314eb ("clk: Make clk API return per-user struct clk > instances"), clk API users can no longer check if two struct clk > pointers are pointing to the same hardware clock, i.e. struct clk_hw, by Acked-by: Mark Brown

[PATCH 7/8] ASoC: fsl_spdif: fix struct clk pointer comparing

2015-02-26 Thread Mark Brown
On Thu, Feb 26, 2015 at 10:20:00AM +0800, Shawn Guo wrote: > Sorry that I did not make it clear in the cover-letter. But the first > patch introduces a helper function clk_is_match(), on which all the > other patches in the series depend. That said, the patch series should > probably be handled

[PATCH 7/8] ASoC: fsl_spdif: fix struct clk pointer comparing

2015-02-26 Thread Mark Brown
On Wed, Feb 25, 2015 at 10:53:37PM +0800, Shawn Guo wrote: > Since commit 035a61c314eb ("clk: Make clk API return per-user struct clk > instances"), clk API users can no longer check if two struct clk > pointers are pointing to the same hardware clock, i.e. struct clk_hw, by Applied, thanks. -

[PATCH 7/8] ASoC: fsl_spdif: fix struct clk pointer comparing

2015-02-26 Thread Shawn Guo
On Thu, Feb 26, 2015 at 11:12:50AM +0900, Mark Brown wrote: > On Wed, Feb 25, 2015 at 10:53:37PM +0800, Shawn Guo wrote: > > Since commit 035a61c314eb ("clk: Make clk API return per-user struct clk > > instances"), clk API users can no longer check if two struct clk > > pointers are pointing to the

[PATCH 7/8] ASoC: fsl_spdif: fix struct clk pointer comparing

2015-02-26 Thread Shawn Guo
On Wed, Feb 25, 2015 at 01:04:41PM -0800, Stephen Boyd wrote: > > diff --git a/sound/soc/fsl/fsl_spdif.c b/sound/soc/fsl/fsl_spdif.c > > index 75870c0ea2c9..91eb3aef7f02 100644 > > --- a/sound/soc/fsl/fsl_spdif.c > > +++ b/sound/soc/fsl/fsl_spdif.c > > @@ -1049,7 +1049,7 @@ static u32 fsl_spdif_txc

[PATCH 7/8] ASoC: fsl_spdif: fix struct clk pointer comparing

2015-02-25 Thread Shawn Guo
Since commit 035a61c314eb ("clk: Make clk API return per-user struct clk instances"), clk API users can no longer check if two struct clk pointers are pointing to the same hardware clock, i.e. struct clk_hw, by simply comparing two pointers. That's because with the per-user clk change, a brand new

[PATCH 7/8] ASoC: fsl_spdif: fix struct clk pointer comparing

2015-02-25 Thread Stephen Boyd
On 02/25/15 06:53, Shawn Guo wrote: > Since commit 035a61c314eb ("clk: Make clk API return per-user struct clk > instances"), clk API users can no longer check if two struct clk > pointers are pointing to the same hardware clock, i.e. struct clk_hw, by > simply comparing two pointers. That's becau