drm: Return error value from blob creation
authorDaniel Stone <daniels@collabora.com>
Fri, 22 May 2015 12:34:50 +0000 (13:34 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 22 May 2015 14:18:22 +0000 (16:18 +0200)
commit10e8cb7e79391071b950a28a4d85790dd38fb714
tree836fbdf42c5a3916c9b38a97bd9b530edb39f525
parent99531d9bb76c649df15311c717deefdff7cc5b7b
drm: Return error value from blob creation

Change drm_property_create_blob to return an ERR_PTR-encoded error on
failure, so we can pass the failure reason down.

Signed-off-by: Daniel Stone <daniels@collabora.com>
Cc: Maarten Lankhorst <maarten.lankhorst@intel.com>
Tested-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_crtc.c