summaryrefslogtreecommitdiff
path: root/drivers/media/dvb-frontends/stb0899_drv.c
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2018-04-11 15:55:01 +0200
committerLinus Walleij <linus.walleij@linaro.org>2018-05-23 11:43:03 +0200
commit060f3ebf6a9a4a92dd92149e6ebffae10679ed17 (patch)
tree76666efc35eaf9981d6e98ab72078d397c42f1ca /drivers/media/dvb-frontends/stb0899_drv.c
parentda069d5d2b814d9887989dcdb29fb0202eac8b38 (diff)
gpio: zynq: Setup chip->base based on alias ID
In past Xilinx gpio-zynq driver was setting up gpio chip->base as 0 which was chagned to autodetection when driver was upstreamed. Older systems, which were using this old version, setup SW stack which expects zynq gpio base as 0 and right now there is no way how to set this up. The patch is adding an option to setup chip->base based on aliases which is something what some other drivers are doing too. It means when gpio0 alias is setup then chip->base is 0. When gpio alias is not setup gpiochip_find_base() set it up properly which is current behavior. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/media/dvb-frontends/stb0899_drv.c')
0 files changed, 0 insertions, 0 deletions