]> git.baikalelectronics.ru Git - 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)
commit21a1be370ce10a61ef714bc87b83b3933b2be9f6
tree9deda89de5a975ffe2bdf52ec76b052185016ef9
parentee5dfd1a3d6d7c54b8f2c94e70713344ecff6b44
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