Commit 66da97c
phy: xilinx-xhdmiphy: Fix GT pll-selection allowed range of values
Fix GT rx-pll-selection and tx-pll-selection allowed range of values.
This issue is reported by clang with below warnings.
drivers/phy/xilinx/xhdmiphy.c:560:14: warning: overlapping comparisons
always evaluate to false [-Wtautological-overlap-compare]
if (val < 0 && val > 6) {
~~~~~~~^~~~~~~~~
drivers/phy/xilinx/xhdmiphy.c:546:14: warning: overlapping comparisons
always evaluate to false [-Wtautological-overlap-compare]
if (val < 0 && val > 6) {
~~~~~~~^~~~~~~~~
Signed-off-by: Rajesh Gugulothu <rajesh.gugulothu@amd.com>
Reviewed-by: Vishal Sagar <vishal.sagar@amd.com>
Acked-by: Gaddipati, Naveen <naveen.gaddipati@amd.com>1 parent b6f18f6 commit 66da97c
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
543 | 543 | | |
544 | 544 | | |
545 | 545 | | |
546 | | - | |
| 546 | + | |
547 | 547 | | |
548 | 548 | | |
549 | 549 | | |
| |||
557 | 557 | | |
558 | 558 | | |
559 | 559 | | |
560 | | - | |
| 560 | + | |
561 | 561 | | |
562 | 562 | | |
563 | 563 | | |
| |||
0 commit comments