]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
drm/nouveau/i2c: drop parent refcount when creating ports
authorBen Skeggs <bskeggs@redhat.com>
Tue, 26 Feb 2013 23:52:47 +0000 (09:52 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Mon, 4 Mar 2013 01:46:20 +0000 (11:46 +1000)
commit42bed34c364786b3757f9d788d8ed39120e8f1b5
tree211380b5882d938b20c39456676df793ef5dd938
parent67f9718b084ea7100cefa39b02863fcb14102f8c
drm/nouveau/i2c: drop parent refcount when creating ports

Fixes issue where i2c subdev never gets destroyed due to its subobjects
holding references.  This will mean the i2c subdev refcount goes
negative during its destruction, but this isn't an issue in practice.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/core/subdev/i2c/base.c