drivers: serial: Fix uart_irq_callback_user_data_t usage
Now providing the device pointer that calls the callback. Fixes #26923 Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
This commit is contained in:
parent
e4e6b8e193
commit
04d6d0b120
27 changed files with 29 additions and 28 deletions
|
@ -853,7 +853,7 @@ static void uart_ns16550_isr(void *arg)
|
|||
struct uart_ns16550_dev_data_t * const dev_data = DEV_DATA(dev);
|
||||
|
||||
if (dev_data->cb) {
|
||||
dev_data->cb(dev_data->cb_data);
|
||||
dev_data->cb(dev, dev_data->cb_data);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue