summaryrefslogtreecommitdiffstats
path: root/block/blk-softirq.c
diff options
context:
space:
mode:
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>2013-05-13 10:00:01 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-05-27 08:51:45 -0300
commitd017650b40b4cb5c4158e3b9af38af164986b022 (patch)
tree5d4379494c3a5047b7cb00e1b498c022fa8acef2 /block/blk-softirq.c
parentd9fdbeff26b87e68d0e7f0d506e3cfc0f2a28d56 (diff)
downloadlinux-stable-d017650b40b4cb5c4158e3b9af38af164986b022.tar.gz
linux-stable-d017650b40b4cb5c4158e3b9af38af164986b022.tar.bz2
linux-stable-d017650b40b4cb5c4158e3b9af38af164986b022.zip
[media] sta2x11_vip: fix error return code in sta2x11_vip_init_one()
The orig code will release all the resources if v4l2_device_register() failed and return 0. But what we need in this case is to return an negative error code to let the caller known we are failed. So the patch save the return value of v4l2_device_register() to 'ret' and return it when error. Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'block/blk-softirq.c')
0 files changed, 0 insertions, 0 deletions