]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/reset/core.c
reset: add reset_control_status helper function
authorDinh Nguyen <dinguyen@opensource.altera.com>
Fri, 10 Oct 2014 15:21:14 +0000 (10:21 -0500)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Mon, 20 Oct 2014 08:11:29 +0000 (10:11 +0200)
commit729de41baf63e2172b9d61de61bbd53f231095ca
tree8c04f97eb59f6cd90977f87b5476ec6711546730
parentf114040e3ea6e07372334ade75d1ee0775c355e1
reset: add reset_control_status helper function

There are cases where a system will want to read a reset status bit before
doing any other toggling. Add a reset_control_status helper function to the
reset controller API.

Signed-off-by: Dinh Nguyen <dinguyen@opensource.altera.com>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/reset/core.c
include/linux/reset-controller.h
include/linux/reset.h