firmware: Factor out the paged buffer handling code
authorTakashi Iwai <tiwai@suse.de>
Tue, 11 Jun 2019 12:26:24 +0000 (14:26 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 18 Jun 2019 07:11:21 +0000 (09:11 +0200)
commit5342e7093ff298d9cbd40f9342b607adb02b2dd0
treed90cddffcb887e5ed8d360905530370dc7902d20
parent3aa6980139d19542d9204387fadadd3861e433ec
firmware: Factor out the paged buffer handling code

This is merely a preparation for the upcoming compressed firmware
support and no functional changes.  It moves the code to handle the
paged buffer allocation and mapping out of fallback.c into the main
code, so that they can be used commonly.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/firmware_loader/fallback.c
drivers/base/firmware_loader/firmware.h
drivers/base/firmware_loader/main.c