lkml.org 
[lkml]   [2016]   [Jan]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] ASoC: pcm3168a: Call clk_set_rate in pcm3168a_set_dai_sysclk
On Thu, Jan 28, 2016 at 04:54:20PM +0000, Damien Horsley wrote:

> + ret = clk_set_rate(pcm3168a->scki, freq);
> + if (ret)
> + return ret;
> +
> pcm3168a->sysclk = freq;

Since the clock appears to be mandatory in this driver (good!) why are
we even storing sysclk? Just remove it, the driver never actually used
it anyway.
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2016-01-29 00:41    [W:0.035 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site