S3C64XX I2S: Enable audio-bus clock
Subsystems (3)
PATCH 1/1 S3C64XX I2S: Enable audio-bus clock
Added the missing clk_enable after acquiring the 'audio-bus' clock.
--- sound/soc/s3c24xx/s3c64xx-i2s.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
sound/soc/s3c24xx/s3c64xx-i2s.c +2 -0
@@ -236,6 +236,8 @@ static __devinit int s3c64xx_iis_dev_probe(struct platform_device *pdev) goto err; } +clk_enable (i2s->iis_cclk); + ret =s3c_i2sv2_probe (pdev, dai, i2s,0 );if (ret) goto err_clk;
Signature · 1 line
1.6.2.5
Quoted 1 line · Jassi Brar
Added the missing
clk_enableafter acquiring the 'audio-bus' clock.
I'll apply this but I beleive the driver ought to be smarter with the clocks - AFAICT from the documentation the audio bus clock is not guaranteed to be needed.
Quoted 6 lines · Mark Brown
Quoted 1 line · Jassi Brar
Added the missing
clk_enableafter acquiring the 'audio-bus' clock.I'll apply this but I beleive the driver ought to be smarter with the clocks - AFAICT from the documentation the audio bus clock is not guaranteed to be needed.
this patch only adds the missing code, its no modification. s3c64xx-i2s driver sure needs to be upgraded, which i plan to do soon if nobody else does.
Quoted 7 lines · jassi brar
On Fri, Nov 6, 2009 at 10:13 PM, Mark Brown
Quoted 3 lines
I'll apply this but I beleive the driver ought to be smarter with the clocks - AFAICT from the documentation the audio bus clock is not guaranteed to be needed.
this patch only adds the missing code, its no modification.
I'm not sure what you mean by that? Presumably any system that's managing to use the driver as-is is doing so by clocking the block from something other than the audio clock so from their point of view it isn't needed.
Quoted 2 lines
s3c64xx-i2s driver sure needs to be upgraded, which i plan to do soon if nobody else does.
Any news on IISv4 port support? It'd be good to get the SMDKs to the point where they can actually play audio. I had been expecting some followups from your previous patches.
Quoted 10 lines · Mark Brown
Quoted 7 lines · jassi brar
On Fri, Nov 6, 2009 at 10:13 PM, Mark Brown
Quoted 3 lines
I'll apply this but I beleive the driver ought to be smarter with the clocks - AFAICT from the documentation the audio bus clock is not guaranteed to be needed.
this patch only adds the missing code, its no modification.
I'm not sure what you mean by that?
Sorry, if its hard to understand what i write. I will write detailed explanation.
Seems the clk_enable for cclk went 'missing' during segregation of one driver into separate SoC specific(s3c2412, s3c64xx) and version specific(s3c-i2s-v2) parts..
PCLK(iis) and CLKAUDIO(audio-bus) are equally potential candidates of I2S source clock. If the driver gets and enables 'iis' there is no reason why it should only get and not enable 'audio-bus'.
By the design of the driver, clk_enable for 'audio-bus' too ought to be in
driver (just like 'iis'). If some user is enabling it somewhere else, he/she is
not in line with the design.
Quoted 4 lines
Presumably any system that's
managing to use the driver as-is is doing so by clocking the block from something other than the audio clock so from their point of view it isn't needed.
Why overlook the right but missing part? just because users have a work around?
Quoted 6 lines
Quoted 2 lines
s3c64xx-i2s driver sure needs to be upgraded, which i plan to do soon if nobody else does.
Any news on IISv4 port support? It'd be good to get the SMDKs to the point where they can actually play audio. I had been expecting some followups from your previous patches.
I will resend some patches which were given reviews. I just got busy. Due to different official priorities, the 6channel support implementation got delayed. It is definitely on my todo list.
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Quoted 3 lines · jassi brar
By the design of the driver,
clk_enablefor 'audio-bus' too ought to be in
driver (just like 'iis'). If some user is enabling it somewhere else, he/she is
not in line with the design.
I suspect that these users were just never enabling the clock at all rather than enabling it somewhere else.
Quoted 7 lines
Quoted 3 lines
Any news on IISv4 port support? It'd be good to get the SMDKs to the point where they can actually play audio. I had been expecting some followups from your previous patches.
I will resend some patches which were given reviews. I just got busy. Due to different official priorities, the 6channel support implementation got delayed. It is definitely on my todo list.
OK, thanks. Even two channel support for the port would be good since it'd make it much easier for me to do the enhancements to the wm8580 driver that we were talking about.