[PATCH 1/1] grlib/genirq: Taking into account that it could be more than one ISR enabled/disabled
Sebastian Huber
sebastian.huber at embedded-brains.de
Mon Apr 12 09:21:27 UTC 2021
Could you please add the information of the patch set to this commit
message.
On 12/04/2021 11:15, Moyano, Gabriel wrote:
> ---
> bsps/shared/grlib/irq/genirq.c | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/bsps/shared/grlib/irq/genirq.c b/bsps/shared/grlib/irq/genirq.c
> index 285416b0d3..f452f690ac 100644
> --- a/bsps/shared/grlib/irq/genirq.c
> +++ b/bsps/shared/grlib/irq/genirq.c
> @@ -199,6 +199,11 @@ static int genirq_set_active(
>
> e->enabled = action;
>
> + if ( enabled > 1) {
> + /* More than one ISR is already enabled */
> + enabled = 1;
> + }
> +
> return enabled;
> }
>
--
embedded brains GmbH
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.huber at embedded-brains.de
phone: +49-89-18 94 741 - 16
fax: +49-89-18 94 741 - 08
Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/
More information about the devel
mailing list