]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
Merge remote-tracking branch 'remoteproc/for-next'
authorStephen Rothwell <sfr@canb.auug.org.au>
Thu, 11 Feb 2016 03:23:11 +0000 (14:23 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 11 Feb 2016 03:23:11 +0000 (14:23 +1100)
1  2 
drivers/remoteproc/remoteproc_core.c

index 9e03d158f4119133f09b0979d8b5b70e1ae63c06,29db8b3b13414c6c82e37f56880dda51b51460dc..3d7d58a109d8ebb0b602e17b9a6ff4ed211423ef
@@@ -823,8 -823,10 +823,10 @@@ static int rproc_fw_boot(struct rproc *
  
        /* look for the resource table */
        table = rproc_find_rsc_table(rproc, fw, &tablesz);
-       if (!table)
+       if (!table) {
+               dev_err(dev, "Failed to find resource table\n");
                goto clean_up;
+       }
  
        /* Verify that resource table in loaded fw is unchanged */
        if (rproc->table_csum != crc32(0, table, tablesz)) {
@@@ -1478,8 -1480,6 +1480,8 @@@ module_init(remoteproc_init)
  
  static void __exit remoteproc_exit(void)
  {
 +      ida_destroy(&rproc_dev_index);
 +
        rproc_exit_debugfs();
  }
  module_exit(remoteproc_exit);