Commit 6f6f411
Jacopo Mondi
media: pisp_be: Use clamp() and define max sizes
Use the clamp() from minmax.h and provide a define for the max size as
they will be used in sequent patches.
Signed-off-by: Jacopo Mondi <[email protected]>1 parent 304e1d5 commit 6f6f411
File tree
2 files changed
+12
-8
lines changed- drivers/media/platform/raspberrypi/pisp_be
- include/uapi/linux/media/raspberrypi
2 files changed
+12
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
1144 | 1145 | | |
1145 | 1146 | | |
1146 | 1147 | | |
1147 | | - | |
1148 | | - | |
1149 | | - | |
1150 | | - | |
| 1148 | + | |
| 1149 | + | |
| 1150 | + | |
| 1151 | + | |
| 1152 | + | |
| 1153 | + | |
1151 | 1154 | | |
1152 | 1155 | | |
1153 | 1156 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| |||
0 commit comments