Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ce32b9ac authored by Elliot Berman's avatar Elliot Berman
Browse files

haven: Pass doorbell irq number to client callback



Clients may need irq number to handle doorbell, e.g. to use a common irq
handler framework.

Change-Id: Iab64a0ce3330eab2b8fa052e9d8b9b9856510e6a
Signed-off-by: default avatarElliot Berman <eberman@codeaurora.org>
parent 1e976197
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -275,7 +275,7 @@ static irqreturn_t hh_dbl_rx_callback_thread(int irq, void *rx_priv_data)
	if (!cap_table_entry->rx_callback)
		return IRQ_HANDLED;

	cap_table_entry->rx_callback(rx_priv_data);
	cap_table_entry->rx_callback(irq, rx_priv_data);
	return IRQ_HANDLED;
}

+1 −1
Original line number Diff line number Diff line
@@ -9,7 +9,7 @@

#include "hh_common.h"

typedef void (*dbl_rx_cb_t)(void *priv_data);
typedef void (*dbl_rx_cb_t)(int irq, void *priv_data);

enum hh_dbl_label {
	HH_DBL_TUI_LABEL,