Re: [PATCH v2 16/19] ASoC: tlv320aic31xx: Add short circuit detection support

From: Mark Brown
Date: Thu Dec 07 2017 - 12:24:07 EST


On Thu, Dec 07, 2017 at 09:37:36AM -0600, Andrew F. Davis wrote:
> On 12/07/2017 06:03 AM, Mark Brown wrote:

> >> As for your other suggestion of "log other interrupt sources
> >> numerically", could you explain this or point to an example of what you
> >> mean?

> > Just print out the bits that were set.

> I don't see anyone else doing this, what would that solve? Maybe I still
> don't get what you mean here. :(

A good proportion of devices require explicit acks for interrupts and
only ack things they handled so don't have this issue, and otherwise
it's common to just handle all the interrupts that the device might
fire. The goal is to not silently eat interrupts if the device starts
interrupting for some reason.

Attachment: signature.asc
Description: PGP signature