drm/nouveau: ensure we've parsed i2c table entry for INIT_*I2C* handlers
authorBen Skeggs <bskeggs@redhat.com>
Wed, 12 May 2010 04:38:25 +0000 (14:38 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 19 May 2010 06:22:05 +0000 (16:22 +1000)
commitf8b0be1a75dc62d2b5f5b9a8406c97d6c5f82b7d
treeebfae41b6b36206b26b47af26e5461a2a2725c75
parent92b9618761465d190b68519bcc6a6fbd8847cf2c
drm/nouveau: ensure we've parsed i2c table entry for INIT_*I2C* handlers

We may not have parsed the entry yet if the i2c_index is for an i2c bus
that's not referenced by a DCB encoder.

This could be done oh so much more nicely, except we have to care about
prehistoric DCB tables too, and they make life painful.

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