commit | 5711ae6d3054e13a95858da6df6d142bec90d832 | [log] [tgz] |
---|---|---|
author | Luis R. Rodriguez <mcgrof@kernel.org> | Mon Nov 20 10:23:56 2017 -0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Nov 29 11:18:43 2017 +0100 |
tree | 79b812439129830ac2a8802bf1615e18a8f5a54b | |
parent | 942e743b73d0effc65895e4361b04534e24106cb [diff] |
firmware: add helper to copy built-in data to pre-alloc buffer This makes it clearer that the parameters passed are only used for the preallocated buffer option, ie, when a caller uses: request_firmware_into_buf() Otherwise this code won't run. We flip the logic just so the actual prellocated buf code is not indented. Signed-off-by: Luis R. Rodriguez <mcgrof@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>