resmgr: add sanity checks
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 24 Mar 2017 08:07:54 +0000 (10:07 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 24 Mar 2017 08:07:56 +0000 (10:07 +0200)
commit273494aa2d3836110d6a2c73c9e00503c711b01c
tree816673e9617f9414fea237f13e0a8d7b4b20ff79
parent2439ae8738ad9410441c6160f512ab64ec94333d
resmgr: add sanity checks

Add sanity checks to reserve_* methods, and return null if the give
connector/crtc is null.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
kms++util/src/resourcemanager.cpp