i2c: dw: Fix support for i2c port 1
- Provide the irq flags to IRQ_CONNECT_STATIC - Provide the actual IRQ for that controller Change-Id: If660baca7e92065cfdb588a2ae86ff13da0918eb Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
This commit is contained in:
parent
49ea925727
commit
7c0155acd3
2 changed files with 7 additions and 1 deletions
|
@ -186,6 +186,11 @@ config I2C_DW_1_NAME
|
|||
depends on I2C_DW_1
|
||||
default "I2C1"
|
||||
|
||||
config I2C_DW_1_IRQ
|
||||
int "Controller interrupt"
|
||||
depends on I2C_DW_1
|
||||
default 0
|
||||
|
||||
config I2C_DW_1_INT_PRIORITY
|
||||
int "Controller interrupt priority"
|
||||
depends on I2C_DW_1
|
||||
|
|
|
@ -896,7 +896,8 @@ IRQ_CONNECT_STATIC(i2c_dw_1,
|
|||
CONFIG_I2C_DW_1_IRQ,
|
||||
CONFIG_I2C_DW_1_INT_PRIORITY,
|
||||
i2c_dw_isr,
|
||||
0);
|
||||
0,
|
||||
I2C_DW_IRQ_FLAGS);
|
||||
|
||||
void i2c_config_1(struct device *port)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue