greybus: fw-download: Manage firmware requests with kref
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 5 May 2016 10:03:19 +0000 (15:33 +0530)
committerGreg Kroah-Hartman <gregkh@google.com>
Thu, 5 May 2016 20:52:06 +0000 (13:52 -0700)
commitf63a896e532b12f9104749b13861080981b64bad
tree851c07b699c543342e5704d76512bf642a081cb9
parentc4058b7926a44387b1d2480be0f209edb74e7f1c
greybus: fw-download: Manage firmware requests with kref

This patch updates the fw-download core to manage firmware requests with
kref. This is required for the next patch, which will introduce timeouts
for firmware downloads.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/fw-download.c