lkml.org 
[lkml]   [2020]   [Mar]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] spi: spi-geni-qcom: Speculative fix of "nobody cared" about interrupt
On Mon, Mar 16, 2020 at 03:20:01PM -0700, Douglas Anderson wrote:

> + /*
> + * We don't expect to hit this, but if we do we should try our best
> + * to clear the interrupts and return so we don't just get called
> + * again.
> + */
> + if (mas->cur_mcmd == CMD_NONE)
> + goto exit;
> +

Does this mean that there was an actual concrete message of type
CMD_NONE or does it mean that there was no message waiting? If there
was no message then isn't the interrupt spurious?
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2020-03-17 13:11    [W:0.127 / U:0.832 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site