]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
drm/nouveau/i2c: extend type to 16-bits, add lookup-by-type function
authorBen Skeggs <bskeggs@redhat.com>
Sat, 16 Feb 2013 03:19:18 +0000 (13:19 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 20 Feb 2013 06:00:59 +0000 (16:00 +1000)
commit548ddb6dec9964fc9c0812409f3e105b07324c4f
tree9deda89de5a975ffe2bdf52ec76b052185016ef9
parent31a34aa421032cfe3b2b892c929e7539e747a7ac
drm/nouveau/i2c: extend type to 16-bits, add lookup-by-type function

For off-chip transmitters we won't necessarily have an i2c table entry
to lookup, but we can do it instead by encoding the type to include
the extdev type and looking that up instead.

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