WSL2-Linux-Kernel/drivers/media
Chen-Yu Tsai d31b282e2c media: sun6i: Fix CSI regmap's max_register
max_register is currently set to 0x1000. This is beyond the mapped
address range of the hardware, so attempts to dump the regmap from
debugfs would trigger a kernel exception.

Furthermore, the useful registers only occupy a small section at the
beginning of the full range. Change the value to 0x9c, the last known
register on the V3s and H3.

On the A31, the register range is extended to support additional
capture channels. Since this is not yet supported, ignore it for now.

Fixes: 5cc7522d89 ("media: sun6i: Add support for Allwinner CSI V3s")

Cc: <stable@vger.kernel.org>
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2019-02-18 15:24:27 -05:00
..
cec media: cec: fix epoll() by calling poll_wait first 2019-02-18 14:44:45 -05:00
common media: vb2: fix epoll() by calling poll_wait first 2019-02-18 14:46:20 -05:00
dvb-core media: dvb-core: fix epoll() by calling poll_wait first 2019-02-18 14:48:37 -05:00
dvb-frontends media: dvb: Add check on sp8870_readreg 2019-01-16 11:45:33 -05:00
firewire media: firewire: Fix app_info parameter type in avc_ca{,_app}_info 2018-12-05 05:34:33 -05:00
i2c media: cx25840: mark pad sig_types to fix cx231xx init 2019-02-18 12:33:20 -05:00
mmc media: siano: use GFP_DMA only for smssdio 2018-05-15 08:04:42 -04:00
pci Linux 5.0-rc7 2019-02-18 10:12:12 -05:00
platform media: sun6i: Fix CSI regmap's max_register 2019-02-18 15:24:27 -05:00
radio media: wl128x: fix spelling mistake: "Swtich" -> "Switch" 2019-02-18 12:32:43 -05:00
rc Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2018-12-27 13:04:52 -08:00
spi media: cxd2880-spi: fix two memory leaks of dvb_spi 2019-01-16 11:44:29 -05:00
tuners media: si2157: declare its own pads 2018-09-17 13:16:19 -04:00
usb media: uvcvideo: Use usb_make_path to fill in usb_info 2019-02-18 15:19:49 -05:00
v4l2-core media: videobuf: fix epoll() by calling poll_wait first 2019-02-18 14:48:13 -05:00
Kconfig media: Add a Kconfig option for the Request API 2018-12-05 13:07:43 -05:00
Makefile media: media-request: implement media requests 2018-08-31 11:04:51 -04:00
media-device.c media: Add a Kconfig option for the Request API 2018-12-05 13:07:43 -05:00
media-devnode.c MAINTAINERS & files: Canonize the e-mails I use at files 2018-05-04 06:21:06 -04:00
media-entity.c media: v4l2-mc: switch it to use the new approach to setup pipelines 2018-09-17 13:16:19 -04:00
media-request.c media: media-request: fix epoll() by calling poll_wait first 2019-02-18 14:45:33 -05:00