diff options
author | Philipp Zabel <p.zabel@pengutronix.de> | 2019-04-26 17:31:32 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2019-04-26 17:35:07 -0700 |
commit | 9f6da5d42d1ecf7fcc042058a453fe65864fadb0 (patch) | |
tree | e6a6c416730ceed3094446fbf75a84c734ae5aee /mm/slub.c | |
parent | bd21d847924845175fed9756d560cd1c4669f2c5 (diff) | |
download | linux-9f6da5d42d1ecf7fcc042058a453fe65864fadb0.tar.bz2 |
Input: synaptics-rmi4 - fill initial format
The driver doesn't set an initial video format until s_input is called:
$ v4l2-ctl -d /dev/v4l-touch0 --get-input
Video input : 0 (Normalized 16-Bit Image: ok)
$ v4l2-ctl -d /dev/v4l-touch0 --get-fmt-video
Width/Height : 0/0
Pixel Format : ''
[...]
$ v4l2-ctl -d /dev/v4l-touch0 --set-input 0
Video input set to 0 (Normalized 16-Bit Image: Touch, ok)
$ v4l2-ctl -d /dev/v4l-touch0 --get-fmt-video
Width/Height : 71/40
Pixel Format : 'TD16'
[...]
To fix this, initialize the video format to input 0 during probe.
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'mm/slub.c')
0 files changed, 0 insertions, 0 deletions