]> git.baikalelectronics.ru Git - kernel.git/commit
ch7006: correctly handling failed allocation
authorInsu Yun <wuninsu@gmail.com>
Thu, 28 Jan 2016 23:54:36 +0000 (18:54 -0500)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 9 Feb 2016 15:34:44 +0000 (16:34 +0100)
commit3c8bdeab0035d96fd33821a011e6316695b61bba
treea50a4256279f16f5356f575fe638d6404fa1919b
parentbb093858b83ec4f99c67782e28b8f0bb2e8e632c
ch7006: correctly handling failed allocation

Since drm_property_create_range can be failed in memory pressure,
it needs to be checked and return -ENOMEM.

Signed-off-by: Insu Yun <wuninsu@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1454025276-13465-1-git-send-email-wuninsu@gmail.com
drivers/gpu/drm/i2c/ch7006_drv.c