Repository navigation
Commit 985cdcb
media: ov5640: fix restore of last mode set
Mode setting depends on last mode set, in particular
because of exposure calculation when downscale mode
change between subsampling and scaling.
At stream on the last mode was wrongly set to current mode,
so no change was detected and exposure calculation
was not made, fix this.
Signed-off-by: Hugues Fruchet <hugues.fruchet@st.com>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Tested-by: Jacopo Mondi <jacopo@jmondi.org>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>1 parent a8f438c commit 985cdcb
1 file changed
Lines changed: 8 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
226 | 226 | | |
227 | 227 | | |
228 | 228 | | |
| 229 | + | |
229 | 230 | | |
230 | 231 | | |
231 | 232 | | |
| |||
1629 | 1630 | | |
1630 | 1631 | | |
1631 | 1632 | | |
1632 | | - | |
1633 | | - | |
| 1633 | + | |
1634 | 1634 | | |
1635 | 1635 | | |
| 1636 | + | |
1636 | 1637 | | |
1637 | 1638 | | |
1638 | 1639 | | |
| |||
1694 | 1695 | | |
1695 | 1696 | | |
1696 | 1697 | | |
| 1698 | + | |
1697 | 1699 | | |
1698 | 1700 | | |
1699 | 1701 | | |
| |||
1719 | 1721 | | |
1720 | 1722 | | |
1721 | 1723 | | |
| 1724 | + | |
1722 | 1725 | | |
1723 | 1726 | | |
1724 | 1727 | | |
| |||
1727 | 1730 | | |
1728 | 1731 | | |
1729 | 1732 | | |
1730 | | - | |
| 1733 | + | |
1731 | 1734 | | |
1732 | 1735 | | |
1733 | 1736 | | |
| |||
2610 | 2613 | | |
2611 | 2614 | | |
2612 | 2615 | | |
2613 | | - | |
| 2616 | + | |
2614 | 2617 | | |
2615 | 2618 | | |
2616 | 2619 | | |
| |||
2733 | 2736 | | |
2734 | 2737 | | |
2735 | 2738 | | |
| 2739 | + | |
2736 | 2740 | | |
2737 | 2741 | | |
2738 | 2742 | | |
| |||
0 commit comments