Re: [PATCH] ASoC: cs35l56: Accept values greater than 0 as IRQ numbers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 18/06/2024 17:00, Mark Brown wrote:
On Mon, Jun 17, 2024 at 03:54:04PM +0100, Richard Fitzgerald wrote:

So 0 is invalid. Question is: is it also valid to pass -ve errors, or is
0 the _only_ invalid value?

Negative values should be fine.
In that case this patch is necessary so we reject negative values
as not an IRQ. Otherwise we'll try to request a non-existant IRQ and
fail with an error.



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux