# \[PATCH v2\] misc: atmel-ssc: Handle return value of clk\_prepare\_enable and clk\_prepare

- From: Greg KH \<gregkh@linuxfoundation.org\>
- Date: 2017-06-03 14:12:51 
- List: linux-arm-kernel
- Page: https://ratatoskr.run/linux-arm-kernel/2017/06/5011595
- Thread: https://ratatoskr.run/linux-arm-kernel/2017/06/5010661/t.md

```text
On Fri, Jun 02, 2017 at 11:09:02AM +0530, Arvind Yadav wrote:
> clk_prepare_enable() and clk_prepare() can fail here and
> we must check its return value.
> 
> Signed-off-by: Arvind Yadav <redacted>
> ---
>  drivers/misc/atmel-ssc.c | 12 ++++++++++--
>  1 file changed, 10 insertions(+), 2 deletions(-)

What changed from v1?  Always put that information below the --- line.

v3 please?
```
