commit | 7eb42c6e808a0a18b8493268d06e05c1654fbbb2 | [log] [tgz] |
---|---|---|
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | Wed Jan 21 00:55:40 2015 +0200 |
committer | Felipe Balbi <balbi@ti.com> | Tue Jan 27 09:38:03 2015 -0600 |
tree | 75dc87a6630c536fdf3b696542dec4bdf6a86267 | |
parent | 9fdd84d23c76825f3fc3c0782ea433c52d41971a [diff] |
usb: isp1760: Use the gpio descriptor API Switching to the managed gpio descriptor API simplifies both error and cleanup code paths (by removing the need to free the gpio) and runtime code (by removing manual handling of the active low flag). It also permits handling the reset gpio entirely from within the HCD code, sharing it between the different glue layers. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Felipe Balbi <balbi@ti.com>