]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/media/dvb-frontends/dib0090.c
[media] dib0090: Fix a warning at dib0090_set_EFUSE
[karo-tx-linux.git] / drivers / media / dvb-frontends / dib0090.c
index f9916b8434b71045c50703ecfe40699e92675fa3..3ee22ff763151804cdcad69ac827190eab9f5d4f 100644 (file)
@@ -1540,13 +1540,9 @@ static void dib0090_set_EFUSE(struct dib0090_state *state)
                if ((n >= POLY_MAX) || (n <= POLY_MIN))
                        n = 3;
 
-               if ((c >= CAP_VALUE_MIN) && (c <= CAP_VALUE_MAX)
-                               && (h >= HR_MIN) && (h <= HR_MAX)
-                               && (n >= POLY_MIN) && (n <= POLY_MAX)) {
-                       dib0090_write_reg(state, 0x13, (h << 10));
-                       e2 = (n << 11) | ((h >> 2)<<6) | c;
-                       dib0090_write_reg(state, 0x2, e2); /* Load the BB_2 */
-               }
+               dib0090_write_reg(state, 0x13, (h << 10));
+               e2 = (n << 11) | ((h >> 2)<<6) | c;
+               dib0090_write_reg(state, 0x2, e2); /* Load the BB_2 */
        }
 }