diff options
author | Ajay Singh <ajay.kathat@microchip.com> | 2018-06-26 11:37:05 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-06-28 21:55:51 +0900 |
commit | ff52a57a7a4237ad5e089d32c7d621a68f4a7610 (patch) | |
tree | 6b9bb36314847f2f78dd3cf3b5412ac35630f593 /lib/jedec_ddr_data.c | |
parent | 02f08321d0bbf64ffcd709ec664bac0f0ec6b3d8 (diff) |
staging: wilc1000: move the allocation of cmd out of wilc_enqueue_cmd()
Instead of allocating the host_if_cmd in wilc_enqueue_cmd() now moved
the allocation of cmd in the caller. Added the NULL check for
'hif_workqueue' before posting the work queue in wilc_enqueue_cmd().
Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/jedec_ddr_data.c')
0 files changed, 0 insertions, 0 deletions