modesetting: lookup blob using correct identifier.

blob is a blob not a connector
main
Dave Airlie 2008-07-03 08:05:51 +10:00
parent aa2d3cfc16
commit 59a9a756e2
1 changed files with 1 additions and 1 deletions

View File

@ -1926,7 +1926,7 @@ int drm_mode_getblob_ioctl(struct drm_device *dev,
void *blob_ptr;
mutex_lock(&dev->mode_config.mutex);
obj = drm_mode_object_find(dev, out_resp->blob_id, DRM_MODE_OBJECT_CONNECTOR);
obj = drm_mode_object_find(dev, out_resp->blob_id, DRM_MODE_OBJECT_BLOB);
if (!obj) {
ret = -EINVAL;
goto done;