media: atomisp: don't set hpll_freq twice with different values
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 1 Jun 2020 07:02:46 +0000 (09:02 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 11 Jun 2020 17:10:56 +0000 (19:10 +0200)
commit17c3827b4c5744abed8cfc6bf86fdbedf0ed61d2
tree5e0a036989795da33380ee7cb53076fd74641303
parentc371af686972ee2a7946b56f6b6b42bcb80d2091
media: atomisp: don't set hpll_freq twice with different values

The logic which sets the hpll_freq for BYT sets hpll_freq
to 1600MHz, but ignores it, and sets it again after reading
from-device-specific EFI vars (this time, using a default
of 2000MHz).

Remove the first set, as this will be overriden anyway.

While here, do minor adjustments on comments and on a
printk message.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/atomisp/pci/atomisp_v4l2.c