]> asedeno.scripts.mit.edu Git - linux.git/commit
reset: Add acquired flag to of_reset_control_array_get()
authorThierry Reding <treding@nvidia.com>
Thu, 21 Feb 2019 15:25:54 +0000 (16:25 +0100)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Wed, 20 Mar 2019 10:18:36 +0000 (11:18 +0100)
commitf31d5c24fb2ea6fcfa4d300886eb87b662fbc0da
tree8c81687437184252d7491aa3bfe9a6dc3c7bcbd8
parentc84b0326d5e4fe08d493f6fff245da2ad473f4ae
reset: Add acquired flag to of_reset_control_array_get()

In order to be able to request an array of reset controls in acquired or
released mode, add the acquired flag to of_reset_control_array_get() and
pass the flag to subsequent calls of __of_reset_control_get().

Signed-off-by: Thierry Reding <treding@nvidia.com>
Acked-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/reset/core.c
drivers/usb/dwc3/dwc3-of-simple.c
include/linux/reset.h