commit | b7b17633d866e79a192b6e616c644bb6f9301a3f | [log] [tgz] |
---|---|---|
author | Wei Yongjun <weiyj.lk@gmail.com> | Mon Jul 25 07:05:11 2016 +0000 |
committer | Alexandre Belloni <alexandre.belloni@free-electrons.com> | Tue Jul 26 00:09:18 2016 +0200 |
tree | 150cec9e35e2b41af0cf2c8404270ab73ee1784e | |
parent | ae036af8962da5856be2ee2b5543e65014cd608f [diff] |
rtc: at91sam9: Fix missing spin_lock_init() The driver allocates the spinlock but not initialize it. Use spin_lock_init() on it to initialize it correctly. This is detected by Coccinelle semantic patch. Signed-off-by: Wei Yongjun <weiyj.lk@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>