]> 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)
commit8d490cd02461fe788e14897bafe133e02101627c
tree9deda89de5a975ffe2bdf52ec76b052185016ef9
parent150fc4e4be5ab880e816032282f16af6036dbce7
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