Skip to content

Commit 7e55674

Browse files
committed
FIXME: Force return of phy id without condition
Signed-off-by: Yew, Chang Ching <chang.ching.yew@intel.com>
1 parent 50c283f commit 7e55674

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,13 +300,14 @@ static unsigned int max96724_phy_id(struct max_des *des, struct max_des_phy *phy
300300
{
301301
unsigned int num_hw_data_lanes = max_des_phy_hw_data_lanes(des, phy);
302302

303+
#if 0 // FIXME
303304
/* PHY 1 is the master PHY when combining PHY 0 and PHY 1. */
304305
if (phy->index == 0 && num_hw_data_lanes == 4)
305306
return 1;
306307

307308
if (phy->index == 1 && !des->phys[1].enabled)
308309
return 0;
309-
310+
#endif
310311
return phy->index;
311312
}
312313

0 commit comments

Comments
 (0)