drivers: espi: xec: mec172x: Fix compilation when OOB RX async is enabled
Correct MEC172x OOB register access that causes compilation error, Use device-tree-based register access instead of HAL access This occurs whenever CONFIG_ESPI_OOB_CHANNEL_RX_ASYNC is enabled. Signed-off-by: Jose Alberto Meza <jose.a.meza.arellano@intel.com>
This commit is contained in:
parent
45940cf8cf
commit
ace858bc29
1 changed files with 1 additions and 1 deletions
|
@ -910,7 +910,7 @@ static void espi_oob_down_isr(const struct device *dev)
|
|||
#ifndef CONFIG_ESPI_OOB_CHANNEL_RX_ASYNC
|
||||
k_sem_give(&data->rx_lock);
|
||||
#else
|
||||
evt.evt_details = ESPI_OOB_REGS->RX_LEN &
|
||||
evt.evt_details = regs->OOBRXL &
|
||||
MCHP_ESPI_OOB_RX_LEN_MASK;
|
||||
espi_send_callbacks(&data->callbacks, dev, evt);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue