From 08c13a138fe6ef0ec47e75522a9e824ae01025ee Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Sun, 28 Apr 2013 15:47:12 +1000 Subject: [PATCH] Init rwlock for bflsc stat_lock. --- driver-bflsc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/driver-bflsc.c b/driver-bflsc.c index e7802355..30bcaa82 100644 --- a/driver-bflsc.c +++ b/driver-bflsc.c @@ -935,6 +935,7 @@ reinit: update_usb_stats(bflsc); mutex_init(&bflsc->device_mutex); + rwlock_init(&sc_info->stat_lock); return true;