media: atomisp: Remove useless msleep(10) before power-on on BYT
authorHans de Goede <hdegoede@redhat.com>
Sun, 15 Jan 2023 14:37:41 +0000 (15:37 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Wed, 8 Feb 2023 06:59:57 +0000 (07:59 +0100)
commit94afce19ff62a89e4c161b0ca7cee2cd4a6454e7
tree92665d4108965ff2cfffb4144bde69c908789417
parente6548795bb10af1e7aa6668224a47fb294ff24d8
media: atomisp: Remove useless msleep(10) before power-on on BYT

On BYT on poweron/runtime-resume the code is doing:

1. Do nothing
2. msleep(10)
3. Start actual poweron sequence

Since the runtime resume can happen at any moment, waiting 10ms
after it does not really make any sense.

According to both the comment and to:
https://github.com/intel/ProductionKernelQuilts/blob/master/uefi/cht-m1stable/patches/cam-0341-atomisp-WA-sleep-10ms-when-power-up-ISP-on-byt.patch

Which is the patch which originally added this this was added
as a workaround for a single test failing on a single model
tablet/laptop. So lets just drop this.

Reviewed-by: Andy Shevchenko <andy@kernel.org>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/staging/media/atomisp/pci/atomisp_v4l2.c