commit | 9f07bb0d4ada68f05b2e51c10720d4688e6adea4 | [log] [tgz] |
---|---|---|
author | Lucas Stach <l.stach@pengutronix.de> | Mon Jan 25 15:37:28 2016 +0100 |
committer | Lucas Stach <l.stach@pengutronix.de> | Tue Jan 26 18:54:00 2016 +0100 |
tree | 85cccf618bffa4a1680902ee0b004714d7591f81 | |
parent | 45d16a6d94580cd3c6baed69b5fe441ece599fc4 [diff] |
drm/etnaviv: fix get pages error path in etnaviv_gem_vaddr In case that etnaviv_gem_get_pages is unable to get the required pages the object mutex needs to be unlocked. Also return NULL in this case instead of propagating the error, as callers of this function might not be prepared to handle a pointer error, but expect this call to follow the semantics of a plain vmap to return NULL in case of an error. Signed-off-by: Lucas Stach <l.stach@pengutronix.de>