Re: [PATCH 2/3] remoteproc: pru: Fix wrong success return value for fw events

2021-04-06 Thread Mathieu Poirier
On Tue, Mar 23, 2021 at 05:38:38PM -0500, Suman Anna wrote: > The irq_create_fwspec_mapping() returns a proper virq value on success > and 0 upon any failure. The pru_handle_intrmap() treats this as an error > and disposes all firmware event mappings correctly, but is returning > this incorrect val

[PATCH 2/3] remoteproc: pru: Fix wrong success return value for fw events

2021-03-23 Thread Suman Anna
The irq_create_fwspec_mapping() returns a proper virq value on success and 0 upon any failure. The pru_handle_intrmap() treats this as an error and disposes all firmware event mappings correctly, but is returning this incorrect value as is, letting the pru_rproc_start() interpret it as a success an