aboutsummaryrefslogtreecommitdiff
path: root/drivers/nfc
diff options
context:
space:
mode:
authorEgbert Eich2012-10-15 08:21:39 +0200
committerAlex Deucher2012-10-15 13:21:02 -0400
commit082918471139b07964967cfe5f70230909c82ae1 (patch)
tree07a6d14d974c0d65fd3bc99bb517d162ef6ebeb0 /drivers/nfc
parent3691feea9826771d853d28d37b6b6e34758fa66d (diff)
drm/radeon: Don't destroy I2C Bus Rec in radeon_ext_tmds_enc_destroy().
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> Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/nfc')
0 files changed, 0 insertions, 0 deletions