Commit 6db63e8
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 <jacopo.mondi@ideasonboard.com>1 parent 1ceca9a commit 6db63e8
2 files changed
Lines changed: 12 additions & 8 deletions
File tree
- drivers/media/platform/raspberrypi/pisp_be
- include/uapi/linux/media/raspberrypi
| 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