drm/i915: Free memdup-ed DSI VBT data structures on driver_unload
authorHans de Goede <j.w.r.degoede@gmail.com>
Wed, 14 Feb 2018 08:21:50 +0000 (09:21 +0100)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Wed, 14 Feb 2018 19:41:55 +0000 (11:41 -0800)
commited0545a7fbb5241a27f45a084dd71522cdaea5b9
tree427a2568503d229257dafabaeaf21a65e11983ac
parent7928e9bb09dc7f108a1a2b589ef1c7b86843569c
drm/i915: Free memdup-ed DSI VBT data structures on driver_unload

Make intel_bios_cleanup function free the DSI VBT data structures which
are memdup-ed by parse_mipi_config() and parse_mipi_sequence().

Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180214082151.25015-2-hdegoede@redhat.com
(cherry picked from commit e1b86c85f6c2029c31dba99823b6f3d9e15eaacd)
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/i915/intel_bios.c