layer: correct return type 01/171001/2
authorBoram Park <boram1288.park@samsung.com>
Sun, 25 Feb 2018 22:53:13 +0000 (07:53 +0900)
committerBoram Park <boram1288.park@samsung.com>
Sun, 25 Feb 2018 23:27:57 +0000 (08:27 +0900)
TDM_ERROR_NONE seems right because flags is set to 0 as default

Change-Id: I351454370b6e001ec1ba3ee1cccd514e1d6df908

src/tdm_layer.c

index d22a1de..97e2a09 100644 (file)
@@ -1343,8 +1343,8 @@ tdm_layer_get_buffer_flags(tdm_layer *layer, unsigned int *flags)
                /* LCOV_EXCL_START */
                *flags = 0;
                _pthread_mutex_unlock(&private_display->lock);
-               TDM_ERR("not implemented!!");
-               return TDM_ERROR_NOT_IMPLEMENTED;
+               TDM_INFO("not implemented!!");
+               return TDM_ERROR_NONE;
                /* LCOV_EXCL_STOP */
        }