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.
- References:
- [PATCH] ASoC: cs35l56: Accept values greater than 0 as IRQ numbers
- From: Simon Trimmer
- Re: [PATCH] ASoC: cs35l56: Accept values greater than 0 as IRQ numbers
- From: Mark Brown
- Re: [PATCH] ASoC: cs35l56: Accept values greater than 0 as IRQ numbers
- From: Richard Fitzgerald
- RE: [PATCH] ASoC: cs35l56: Accept values greater than 0 as IRQ numbers
- From: Simon Trimmer
- Re: [PATCH] ASoC: cs35l56: Accept values greater than 0 as IRQ numbers
- From: Richard Fitzgerald
- Re: [PATCH] ASoC: cs35l56: Accept values greater than 0 as IRQ numbers
- From: Mark Brown
- [PATCH] ASoC: cs35l56: Accept values greater than 0 as IRQ numbers
- Prev by Date: Re: [PATCH 2/3] spi: cs42l43: Add speaker id support to the bridge configuration
- Next by Date: Re: [PATCH] ASoC: cs35l56: Accept values greater than 0 as IRQ numbers
- Previous by thread: Re: [PATCH] ASoC: cs35l56: Accept values greater than 0 as IRQ numbers
- Next by thread: Re: [PATCH] ASoC: cs35l56: Accept values greater than 0 as IRQ numbers
- Index(es):