OSDN Git Service

firmware_class: Don't fail request_firmware if we're not using a buffer
authorVikram Mulukutla <markivx@codeaurora.org>
Thu, 14 May 2015 20:58:06 +0000 (13:58 -0700)
committerDavid Keitel <dkeitel@codeaurora.org>
Tue, 22 Mar 2016 18:07:40 +0000 (11:07 -0700)
commit08c8dcb464e9df999963d60b07f007c4d1e33ee7
tree669c162ca0b4f94553ad685bacda993955d54845
parent3e47c536248f28324a416015a91fa8b226e4c7d0
firmware_class: Don't fail request_firmware if we're not using a buffer

A check that the intermediate firmware actually contains data
is performed before returning from request_firmware. Perform
this check only if we're actually using the intermediate
buffer.

Signed-off-by: Vikram Mulukutla <markivx@codeaurora.org>
drivers/base/firmware_class.c