[media] dib8000: Fix handling of interleave bigger than 2
authorMauro Carvalho Chehab <m.chehab@samsung.com>
Fri, 4 Jul 2014 17:15:27 +0000 (14:15 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Mon, 7 Jul 2014 12:55:04 +0000 (09:55 -0300)
commit34ba2e65bab3693cdd7c2ee0b8ba6477bd8c366b
tree682c7aa85afe648a38bb7fec5a6b0849948640b6
parentff792c85e60727e66774eb3da8129298690eab0c
[media] dib8000: Fix handling of interleave bigger than 2

If interleave is bigger than 2, the code will set it to 0, as
dib8000 registers use a log2(). So, change the code to handle
it accordingly.

Acked-By: Patrick Boettcher <pboettcher@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/dvb-frontends/dib8000.c