gpio: intel_apl: fix incorrect address access
The address used to access to REG_MISCCFG is not correct. So fix it. Signed-off-by: Daniel Leung <daniel.leung@intel.com>
This commit is contained in:
parent
81c089b690
commit
74306a6578
1 changed files with 1 additions and 1 deletions
|
@ -582,7 +582,7 @@ int gpio_intel_apl_init(struct device *dev)
|
|||
|
||||
/* route to IRQ 14 */
|
||||
|
||||
sys_bitfield_clear_bit(data->pad_base + REG_MISCCFG,
|
||||
sys_bitfield_clear_bit(cfg->reg_base + REG_MISCCFG,
|
||||
MISCCFG_IRQ_ROUTE_POS);
|
||||
|
||||
dev->driver_api = &gpio_intel_apl_api;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue