Skip to content

Commit a94ae6f

Browse files
committed
media: i2c: max96724: Update phy to id mapping
Signed-off-by: Yew, Chang Ching <chang.ching.yew@intel.com>
1 parent 3ba7154 commit a94ae6f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/media/i2c/maxim-serdes/max96724.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -304,8 +304,8 @@ static unsigned int max96724_phy_id(struct max_des *des, struct max_des_phy *phy
304304
if (phy->index == 0 && num_hw_data_lanes == 4)
305305
return 1;
306306

307-
if (phy->index == 1 && !des->phys[1].enabled)
308-
return 0;
307+
if (phy->index == 3 && num_hw_data_lanes == 4)
308+
return 2;
309309

310310
return phy->index;
311311
}

0 commit comments

Comments
 (0)