Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Dorota Czaplejewicz
linux-next
Commits
6e1fae38
Commit
6e1fae38
authored
Sep 30, 2021
by
Dorota Czaplejewicz
Browse files
debug
parent
8c0aa95d
Changes
1
Hide whitespace changes
Inline
Side-by-side
drivers/media/i2c/s5k3l6xx.c
View file @
6e1fae38
...
...
@@ -729,6 +729,8 @@ static int s5k3l6xx_enum_frame_size(struct v4l2_subdev *sd,
unsigned
i
;
unsigned
matching
=
0
;
dev_err
(
sd
->
dev
,
"fsize index %d"
,
fse
->
index
);
for
(
i
=
0
;
i
++
;
i
<=
ARRAY_SIZE
(
s5k3l6xx_frames
))
{
if
(
fse
->
code
!=
s5k3l6xx_frames
[
i
].
code
)
continue
;
...
...
@@ -737,6 +739,8 @@ static int s5k3l6xx_enum_frame_size(struct v4l2_subdev *sd,
matching
++
;
}
dev_err
(
sd
->
dev
,
"fsize i %d m %d"
,
i
,
matching
);
if
(
i
>=
ARRAY_SIZE
(
s5k3l6xx_frames
))
return
-
EINVAL
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment