mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-07 10:29:52 +00:00
media: i2c: imx290: Specify HMAX values in decimal
The HMAX value specifies the total line length in pixels. It's thus more readable in decimal than hexadecimal. Fix it. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
This commit is contained in:
committed by
Sakari Ailus
parent
72e4bf6dd1
commit
72825bc6f7
@@ -307,7 +307,7 @@ static const struct imx290_mode imx290_modes_2lanes[] = {
|
|||||||
{
|
{
|
||||||
.width = 1920,
|
.width = 1920,
|
||||||
.height = 1080,
|
.height = 1080,
|
||||||
.hmax = 0x1130,
|
.hmax = 4400,
|
||||||
.link_freq_index = FREQ_INDEX_1080P,
|
.link_freq_index = FREQ_INDEX_1080P,
|
||||||
.data = imx290_1080p_settings,
|
.data = imx290_1080p_settings,
|
||||||
.data_size = ARRAY_SIZE(imx290_1080p_settings),
|
.data_size = ARRAY_SIZE(imx290_1080p_settings),
|
||||||
@@ -315,7 +315,7 @@ static const struct imx290_mode imx290_modes_2lanes[] = {
|
|||||||
{
|
{
|
||||||
.width = 1280,
|
.width = 1280,
|
||||||
.height = 720,
|
.height = 720,
|
||||||
.hmax = 0x19c8,
|
.hmax = 6600,
|
||||||
.link_freq_index = FREQ_INDEX_720P,
|
.link_freq_index = FREQ_INDEX_720P,
|
||||||
.data = imx290_720p_settings,
|
.data = imx290_720p_settings,
|
||||||
.data_size = ARRAY_SIZE(imx290_720p_settings),
|
.data_size = ARRAY_SIZE(imx290_720p_settings),
|
||||||
@@ -326,7 +326,7 @@ static const struct imx290_mode imx290_modes_4lanes[] = {
|
|||||||
{
|
{
|
||||||
.width = 1920,
|
.width = 1920,
|
||||||
.height = 1080,
|
.height = 1080,
|
||||||
.hmax = 0x0898,
|
.hmax = 2200,
|
||||||
.link_freq_index = FREQ_INDEX_1080P,
|
.link_freq_index = FREQ_INDEX_1080P,
|
||||||
.data = imx290_1080p_settings,
|
.data = imx290_1080p_settings,
|
||||||
.data_size = ARRAY_SIZE(imx290_1080p_settings),
|
.data_size = ARRAY_SIZE(imx290_1080p_settings),
|
||||||
@@ -334,7 +334,7 @@ static const struct imx290_mode imx290_modes_4lanes[] = {
|
|||||||
{
|
{
|
||||||
.width = 1280,
|
.width = 1280,
|
||||||
.height = 720,
|
.height = 720,
|
||||||
.hmax = 0x0ce4,
|
.hmax = 3300,
|
||||||
.link_freq_index = FREQ_INDEX_720P,
|
.link_freq_index = FREQ_INDEX_720P,
|
||||||
.data = imx290_720p_settings,
|
.data = imx290_720p_settings,
|
||||||
.data_size = ARRAY_SIZE(imx290_720p_settings),
|
.data_size = ARRAY_SIZE(imx290_720p_settings),
|
||||||
|
|||||||
Reference in New Issue
Block a user