~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to drivers/media/video/saa7164/saa7164-fw.c

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
88
88
                "%s(image=%p, size=%d, flags=0x%x, dst=%p, dstsize=0x%x)\n",
89
89
                __func__, src, srcsize, dlflags, dst, dstsize);
90
90
 
91
 
        if ((src == 0) || (dst == 0)) {
 
91
        if ((src == NULL) || (dst == NULL)) {
92
92
                ret = -EIO;
93
93
                goto out;
94
94
        }
444
444
                printk(KERN_INFO " .Reserved = 0x%x\n", hdr->reserved);
445
445
                printk(KERN_INFO " .Version = 0x%x\n", hdr->version);
446
446
 
447
 
                /* Retreive bootloader if reqd */
 
447
                /* Retrieve bootloader if reqd */
448
448
                if ((hdr->firmwaresize == 0) && (hdr->bslsize == 0))
449
449
                        /* Second bootloader in the firmware file */
450
450
                        filesize = hdr->reserved * 16;