Laurent Pinchart writes:
>> and the upper limit is '63' (value uses 6:0 register bits).
>
> And this I don't. You can encode numbers from 0 to 127 on 7 bits.
yes; you are right (original '64' was correct because sensor allows only
dividers of a power-of-two).
>> -mt9p031->clk_div =
There must be used 'min_t', not 'max_t' for calculating the divider.
Signed-off-by: Enrico Scholz
Cc: Laurent Pinchart
---
drivers/media/i2c/mt9p031.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/media/i2c/mt9p031.c b/drivers/media/i2c/mt9
There must be used 'min_t', not 'max_t' for calculating the divider and
the upper limit is '63' (value uses 6:0 register bits).
Signed-off-by: Enrico Scholz
Cc: Laurent Pinchart
---
drivers/media/i2c/mt9p031.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(