]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
drm/i915: avoid hanging on to a stale pointer to raw_edid.
authorMa Ling <ling.ma@intel.com>
Wed, 11 Mar 2009 10:18:29 +0000 (18:18 +0800)
committerEric Anholt <eric@anholt.net>
Wed, 1 Apr 2009 18:59:19 +0000 (11:59 -0700)
commit6b731a65c86119da808b3687e0bbb8f18ab137ad
tree6a60ff4f2e86f5a6220977b46d528b8dc3f2a30a
parent959b887cf42fd63cf10e28a7f26126f78aa1c0b0
drm/i915: avoid hanging on to a stale pointer to raw_edid.

drm_get_edid will store edid into raw_edid, so when freeing edid memory,
at the same time clean raw_edid pointer.

Signed-off-by: Ma Ling <ling.ma@intel.com>
[anholt: Note that raw_edid is not currently used anywhere]
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/intel_modes.c