commit | db749359059f3049fc5c66950e5ca85f67d7c1b0 | [log] [tgz] |
---|---|---|
author | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | Thu Feb 19 16:47:07 2015 -0300 |
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | Thu Feb 26 08:45:42 2015 -0300 |
tree | 05192a5286c39166540174b34a0f969a214d0999 | |
parent | 3d263114c4b75d06253f0ed8059164dbc70c9f0c [diff] |
[media] cx25840: fix return logic when media entity init fails There's no need to free state, as it was allocated via devm_kzalloc(). Also, let's return the error code, instead of something else. Reported-by: Prabhakar Lad <prabhakar.csengg@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>