Commit ae89bb0d363eba33074106309c81c02f84b91ef8
Committed by
Stefano Babic
1 parent
cd6ddc4813
Exists in
v2017.01-smarct4x
and in
34 other branches
dm: gpio: uclass: Add flag to control sequence numbering
Like SPI and I2C few GPIO controllers also have multiple chip instances. This patch adds the flag 'DM_UC_FLAG_SEQ_ALIAS' in gpio_uclass driver to control device sequence numbering. By defalut the dev->r_seq for gpio_uclass will alwalys returns -1, which leads the gpio driver probe failure when using the driver with device trees. Signed-off-by: Bhuvanchandra DV <bhuvanchandra.dv@toradex.com>
Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff
drivers/gpio/gpio-uclass.c