msm: camera: Print out event type when timeout happens
Signed-off-by: Mekala Natarajan <mekalan@codeaurora.org>
This commit is contained in:
@@ -654,7 +654,8 @@ int msm_post_event(struct v4l2_event *event, int timeout)
|
|||||||
msecs_to_jiffies(timeout));
|
msecs_to_jiffies(timeout));
|
||||||
if (list_empty_careful(&cmd_ack->command_q.list)) {
|
if (list_empty_careful(&cmd_ack->command_q.list)) {
|
||||||
if (!rc) {
|
if (!rc) {
|
||||||
pr_err("%s: Timed out\n", __func__);
|
pr_err("%s: Timed out for event type %d\n",
|
||||||
|
__func__, event->type);
|
||||||
rc = -ETIMEDOUT;
|
rc = -ETIMEDOUT;
|
||||||
}
|
}
|
||||||
if (rc < 0) {
|
if (rc < 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user