Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1236914

RE: [RESEND PATCH 1/1] ASoC: dwc: correct irq clear method

From "yitian" <yitian.bu@tangramtek.com>
Newsgroups linux.kernel
Subject RE: [RESEND PATCH 1/1] ASoC: dwc: correct irq clear method
Date 2015-10-01 04:50 +0200
Message-ID <qeC6u-7m7-7@gated-at.bofh.it> (permalink)
References <qe4ob-ZN-39@gated-at.bofh.it> <qeu8V-4ns-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


> From: linux-arm-kernel
> [mailto:linux-arm-kernel-bounces@lists.infradead.org] On Behalf Of Mark
> Brown
> Sent: Thursday, October 1, 2015 2:18 AM
> To: yitian <yitian.bu@tangramtek.com>
> Cc: alsa-devel@alsa-project.org; wsa@the-dreams.de;
> linux-kernel@vger.kernel.org; Andrew.Jackson@arm.com; tiwai@suse.com;
> lgirdwood@gmail.com; perex@perex.cz;
> linux-arm-kernel@lists.infradead.org
> Subject: Re: [RESEND PATCH 1/1] ASoC: dwc: correct irq clear method
> 
> On Tue, Sep 29, 2015 at 10:39:00PM +0800, yitian wrote:
> > from Designware I2S datasheet, irq is cleared by reading from
> > TOR/ROR registers, rather than by writing into them.
> 
> This doesn't apply against current code, please check and resend.
Hi Mark:

Thanks for your comments.
Maybe I misunderstand your meaning. Please correct me.

I synced up to latest kernel branch, the code is the same as what this patch
was
generated.

I checked designware I2S spec "version 1.08a June 2014", it specified that
the TOR
and ROR registers are read only and reading the last bit will clear tx/rx
overrun irq.

Also I have checked this register by writing its last bit, the overrun irq
is not cleared.
But if I read the last bit, the overrun irq is cleared. That means the spec
is correct.

Can you please let me know what else I should double check? Thanks.


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[RESEND PATCH 1/1] ASoC: dwc: correct irq clear method "yitian" <yitian.bu@tangramtek.com> - 2015-09-29 16:50 +0200
  Re: [RESEND PATCH 1/1] ASoC: dwc: correct irq clear method Mark Brown <broonie@kernel.org> - 2015-09-30 20:20 +0200
    RE: [RESEND PATCH 1/1] ASoC: dwc: correct irq clear method "yitian" <yitian.bu@tangramtek.com> - 2015-10-01 04:50 +0200
      Re: [RESEND PATCH 1/1] ASoC: dwc: correct irq clear method Mark Brown <broonie@kernel.org> - 2015-10-01 12:10 +0200
        RE: [alsa-devel] [RESEND PATCH 1/1] ASoC: dwc: correct irq clear method "yitian" <yitian.bu@tangramtek.com> - 2015-10-02 09:30 +0200

csiph-web