diff options
author | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-02-19 16:47:07 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-02-26 08:45:42 -0300 |
commit | db749359059f3049fc5c66950e5ca85f67d7c1b0 (patch) | |
tree | 05192a5286c39166540174b34a0f969a214d0999 /drivers/media/common | |
parent | 3d263114c4b75d06253f0ed8059164dbc70c9f0c (diff) | |
download | op-kernel-dev-db749359059f3049fc5c66950e5ca85f67d7c1b0.zip op-kernel-dev-db749359059f3049fc5c66950e5ca85f67d7c1b0.tar.gz |
[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>
Diffstat (limited to 'drivers/media/common')
0 files changed, 0 insertions, 0 deletions