IOMMU Fixes for Linux v3.16-rc5

A couple of fixes for the Freescale PAMU driver queued up:

      * Fix PAMU window size check.
      * Fix the device domain attach condition.
      * Fix the error condition during iommu group
iommu/fsl: Fix the error condition during iommu group

Earlier PTR_ERR was being returned even if group was set to null.
Now, we explicitly set an ERR_PTR value in case the group  pointer is
NULL.

Signed-off-by: Varun Sethi <Varun.Sethi@freescale.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
1 file changed