lkml.org 
[lkml]   [2019]   [Dec]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/3] pinctrl: pinctrl-cherryview: Use GPIO direction definitions
On Wed, Dec 11, 2019 at 04:32:54PM +0200, Matti Vaittinen wrote:
> Use new GPIO_LINE_DIRECTION_IN and GPIO_LINE_DIRECTION_OUT when
> returning GPIO direction to GPIO framework.

> - return direction != CHV_PADCTRL0_GPIOCFG_GPO;
> + return direction != CHV_PADCTRL0_GPIOCFG_GPO ? GPIO_LINE_DIRECTION_IN :
> + GPIO_LINE_DIRECTION_OUT;

Same as per patch 1.

--
With Best Regards,
Andy Shevchenko


\
 
 \ /
  Last update: 2019-12-11 15:55    [W:0.041 / U:2.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site