Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 366595
b: refs/heads/master
c: 1e19c21
h: refs/heads/master
i:
  366593: 688bd14
  366591: 93d68ee
v: v3
  • Loading branch information
Mauro Carvalho Chehab committed Mar 21, 2013
1 parent ba8ad70 commit a32ba5f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ab7bdb12984732e5ebac00d6a180431cbd4e0ce1
refs/heads/master: 1e19c21ec7b5e66228602f4d88d894e23db1e004
13 changes: 8 additions & 5 deletions trunk/drivers/media/common/siano/smscoreapi.c
Original file line number Diff line number Diff line change
Expand Up @@ -977,13 +977,16 @@ static int smscore_load_firmware_family2(struct smscore_device_t *coredev,
msleep(400);

exit_fw_download:
sms_debug("rc=%d, postload=0x%p ", rc, coredev->postload_handler);

kfree(msg);

return ((rc >= 0) && coredev->postload_handler) ?
coredev->postload_handler(coredev->context) :
rc;
if (coredev->postload_handler) {
sms_debug("rc=%d, postload=0x%p", rc, coredev->postload_handler);
if (rc >= 0)
return coredev->postload_handler(coredev->context);
}

sms_debug("rc=%d", rc);
return rc;
}


Expand Down

0 comments on commit a32ba5f

Please sign in to comment.