drivers: audio: tlv320dac310x: Explicitly set GPIO_DIR_OUT
As a precursor to the new GPIO API in which GPIO_DIR_OUT isn't a dts flag move setting of GPIO_DIR_OUT from the dts to explicitly in the code. We remove setting the flag in intel_s1000_crb.dts as part of this cleanup. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
544921cd93
commit
b546ef3748
2 changed files with 2 additions and 2 deletions
|
@ -110,7 +110,7 @@ static int codec_configure(struct device *dev,
|
|||
|
||||
/* configure reset GPIO */
|
||||
gpio_pin_configure(dev_cfg->gpio_device, dev_cfg->gpio_pin,
|
||||
dev_cfg->gpio_flags);
|
||||
dev_cfg->gpio_flags | GPIO_DIR_OUT);
|
||||
/* de-assert reset */
|
||||
gpio_pin_write(dev_cfg->gpio_device, dev_cfg->gpio_pin,
|
||||
CODEC_RESET_PIN_DEASSERT);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue