Files
linux/drivers
Egbert Eich cbdf1102b6 drm/radeon: Don't destroy I2C Bus Rec in radeon_ext_tmds_enc_destroy().
commit 0829184711 upstream.

radeon_i2c_fini() walks thru the list of I2C bus recs rdev->i2c_bus[]
to destroy each of them.
radeon_ext_tmds_enc_destroy() however also has code to destroy it's
associated I2C bus rec which has been obtained by radeon_i2c_lookup()
and is therefore also in the i2c_bus[] list.
This causes a double free resulting in a kernel panic when unloading
the radeon driver.
Removing destroy code from radeon_ext_tmds_enc_destroy() fixes this
problem.

agd5f: fix compiler warning

Signed-off-by: Egbert Eich <eich@suse.de>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-21 09:17:12 -07:00
..
2012-06-10 00:32:58 +09:00
2011-05-26 17:12:32 -07:00
2012-01-25 17:24:54 -08:00
2012-01-25 17:24:56 -08:00
2011-05-06 09:27:55 -07:00
2012-10-13 05:28:15 +09:00
2011-06-14 15:15:25 +09:00
2012-01-06 14:13:48 -08:00
2012-04-27 09:51:06 -07:00
2012-07-16 08:47:51 -07:00
2011-11-21 14:31:14 -08:00
2012-10-02 09:47:27 -07:00