coreboot/src/drivers/intel
John Zhao 388e551dc3 drivers/intel/mipi_camera: Avoid resource leak
Coverity detects variable dsd going out of scope leaks the storage it
points to. Move dsd resource allocation after sanity check for
config->nvm_compact to avoid leak.

Found-by: Coverity CID 1432727
TEST=Built and boot up to kernel on Volteer.

Signed-off-by: John Zhao <john.zhao@intel.com>
Change-Id: I86af322dc78845b8b312b6815135336c2c56b4dd
Reviewed-on: https://review.coreboot.org/c/coreboot/+/45531
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
2020-09-21 08:12:25 +00:00
..
dptf drivers/intel/dptf: Remove prompts from DPTF config options 2020-07-26 21:34:03 +00:00
fsp1_1 mrc_cache: Add mrc_cache fetch functions to support non-x86 platforms 2020-08-24 23:30:50 +00:00
fsp2_0 mrc_cache: Add mrc_cache fetch functions to support non-x86 platforms 2020-08-24 23:30:50 +00:00
gma soc/intel/apl: Add panel power and backlight configuration 2020-09-06 21:41:33 +00:00
i210 src: Remove leading blank lines from SPDX header 2020-05-18 07:00:27 +00:00
ish treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
mipi_camera drivers/intel/mipi_camera: Avoid resource leak 2020-09-21 08:12:25 +00:00
pmc_mux drivers/intel/pmc_mux: Rename con driver to conn 2020-07-04 21:59:00 +00:00
ptt src: Remove unused 'include <stdint.h> 2020-07-14 16:11:10 +00:00
soundwire src/drivers/intel/soundwire/soundwire.h: Add include <types.h> 2020-07-26 21:35:50 +00:00
wifi drivers/wifi: Adapt generic wifi driver into a chip driver 2020-07-28 16:07:47 +00:00