media: gspca: Convert PERR to gspca_err
Use a more typical kernel logging style. The current macro hides the gspca_dev argument so add it to the macro uses instead. Miscellanea: o Add missing '\n' terminations to formats o Realign arguments to open parenthesis Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Цей коміт міститься в:

зафіксовано
Mauro Carvalho Chehab

джерело
6e298d5847
коміт
52173c5f3f
@@ -142,7 +142,7 @@ static void wait_status_0(struct gspca_dev *gspca_dev)
|
||||
w += 15;
|
||||
msleep(w);
|
||||
} while (--i > 0);
|
||||
PERR("wait_status_0 timeout");
|
||||
gspca_err(gspca_dev, "wait_status_0 timeout\n");
|
||||
gspca_dev->usb_err = -ETIME;
|
||||
}
|
||||
|
||||
@@ -160,7 +160,7 @@ static void wait_status_1(struct gspca_dev *gspca_dev)
|
||||
return;
|
||||
}
|
||||
} while (--i > 0);
|
||||
PERR("wait_status_1 timeout");
|
||||
gspca_err(gspca_dev, "wait_status_1 timeout\n");
|
||||
gspca_dev->usb_err = -ETIME;
|
||||
}
|
||||
|
||||
|
Посилання в новій задачі
Заблокувати користувача