Skip to content
Commit de4d7e44 authored by Dave Stevenson's avatar Dave Stevenson Committed by popcornmix
Browse files

media: bcm2835-unicam: Retain packing information on G_FMT



The change to retrieve the pixel format always on g_fmt didn't
check whether the native or unpacked version of the format
had been requested, and always returned the packed one.
Correct this so that the packing setting is retained whereever
possible.

Fixes "9d59e89e media: bcm2835-unicam: Re-fetch mbus code from subdev
on a g_fmt call"

Signed-off-by: default avatarDave Stevenson <dave.stevenson@raspberrypi.com>
parent 2e5f7043
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment