diff options
| author | 2022-09-03 23:50:42 +0200 | |
|---|---|---|
| committer | 2022-09-24 10:08:45 +0200 | |
| commit | 1636369bcfa253a91a8ac7327469c6642df018fc (patch) | |
| tree | 4c2b0f91a5a98a6db802b746eca8ec07468b7fc2 /drivers/net/netdevsim/git:/ssh:/git@git.zx2c4.com | |
| parent | media: atomisp: Move atomisp_streaming_count() check into __atomisp_css_recover() (diff) | |
| download | linux-dev-1636369bcfa253a91a8ac7327469c6642df018fc.tar.xz linux-dev-1636369bcfa253a91a8ac7327469c6642df018fc.zip | |
media: atomisp: Rework asd->streaming state update in __atomisp_streamoff()
During the first __atomisp_streamoff() call on an asd with only one pipe
streaming asd->streaming would get set twice:
asd->streaming = ATOMISP_DEVICE_STREAMING_STOPPING;
asd->streaming = ATOMISP_DEVICE_STREAMING_DISABLED;
Rework the code a bit so that it gets set to the correct value
right away instead of doing this in 2 steps.
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'drivers/net/netdevsim/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
