Re: [PATCH] reset: add reset_control_status helper function

2014-10-09 Thread Dinh Nguyen
Hi Philipp, On 10/9/14, 3:44 AM, Philipp Zabel wrote: > Hi Dinh, > > thank you for the patch. Just two small issues below: > > Am Mittwoch, den 08.10.2014, 17:45 -0500 schrieb > dingu...@opensource.altera.com: > [...] >> @@ -126,6 +126,19 @@ int reset_control_deassert(struct reset_control *rstc

Re: [PATCH] reset: add reset_control_status helper function

2014-10-09 Thread Philipp Zabel
Hi Dinh, thank you for the patch. Just two small issues below: Am Mittwoch, den 08.10.2014, 17:45 -0500 schrieb dingu...@opensource.altera.com: [...] > @@ -126,6 +126,19 @@ int reset_control_deassert(struct reset_control *rstc) > EXPORT_SYMBOL_GPL(reset_control_deassert); > > /** > + * reset_

[PATCH] reset: add reset_control_status helper function

2014-10-08 Thread dinguyen
From: Dinh Nguyen 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 --- drivers/reset/core.c | 13 + include/linux/reset