drm/exynos/ipp: remove redundant messages

In case of error callback prints already corresponding message.

Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
This commit is contained in:
Andrzej Hajda 2014-07-03 15:10:35 +02:00 committed by Inki Dae
parent 134f0e9b5d
commit 57ace33584
1 changed files with 4 additions and 11 deletions

View File

@ -1152,7 +1152,6 @@ static int ipp_set_property(struct exynos_drm_ippdrv *ippdrv,
/* reset h/w block */ /* reset h/w block */
if (ippdrv->reset && if (ippdrv->reset &&
ippdrv->reset(ippdrv->dev)) { ippdrv->reset(ippdrv->dev)) {
DRM_ERROR("failed to reset.\n");
return -EINVAL; return -EINVAL;
} }
@ -1170,32 +1169,26 @@ static int ipp_set_property(struct exynos_drm_ippdrv *ippdrv,
/* set format */ /* set format */
if (ops->set_fmt) { if (ops->set_fmt) {
ret = ops->set_fmt(ippdrv->dev, config->fmt); ret = ops->set_fmt(ippdrv->dev, config->fmt);
if (ret) { if (ret)
DRM_ERROR("not support format.\n");
return ret; return ret;
} }
}
/* set transform for rotation, flip */ /* set transform for rotation, flip */
if (ops->set_transf) { if (ops->set_transf) {
ret = ops->set_transf(ippdrv->dev, config->degree, ret = ops->set_transf(ippdrv->dev, config->degree,
config->flip, &swap); config->flip, &swap);
if (ret) { if (ret)
DRM_ERROR("not support tranf.\n"); return ret;
return -EINVAL;
}
} }
/* set size */ /* set size */
if (ops->set_size) { if (ops->set_size) {
ret = ops->set_size(ippdrv->dev, swap, &config->pos, ret = ops->set_size(ippdrv->dev, swap, &config->pos,
&config->sz); &config->sz);
if (ret) { if (ret)
DRM_ERROR("not support size.\n");
return ret; return ret;
} }
} }
}
return 0; return 0;
} }