Merge "disp: msm: sde: update smmu fault handler to print debug info"

Dieser Commit ist enthalten in:
qctecmdr
2021-04-02 18:50:48 -07:00
committet von Gerrit - the friendly Code Review server
Commit 72fb431a00
2 geänderte Dateien mit 5 neuen und 7 gelöschten Zeilen

Datei anzeigen

@@ -427,11 +427,10 @@ static int msm_smmu_fault_handler(struct iommu_domain *domain,
int flags, void *token)
{
struct msm_smmu_client *client;
int rc = -EINVAL;
if (!token) {
DRM_ERROR("Error: token is NULL\n");
return -EINVAL;
return -ENOSYS;
}
client = (struct msm_smmu_client *)token;
@@ -445,7 +444,7 @@ static int msm_smmu_fault_handler(struct iommu_domain *domain,
* return -ENOSYS to allow smmu driver to dump out useful
* debug info.
*/
return rc;
return -ENOSYS;
}
/**