summaryrefslogtreecommitdiffstats
path: root/drivers/reset/core.c
Commit message (Collapse)AuthorAgeFilesLines
* reset: NULL deref on allocation failureDan Carpenter2013-04-121-1/+1
| | | | | | | "rstc" is NULL here and we should use "rcdev" instead of "rstc->rcdev". Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
* reset: Add reset controller APIPhilipp Zabel2013-04-121-0/+297
This adds a simple API for devices to request being reset by separate reset controller hardware and implements the reset signal device tree binding. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Reviewed-by: Stephen Warren <swarren@nvidia.com> Reviewed-by: Shawn Guo <shawn.guo@linaro.org> Reviewed-by: Marek Vasut <marex@denx.de> Reviewed-by: Pavel Machek <pavel@ucw.cz>
OpenPOWER on IntegriCloud