3b6471c7be
'res' is reassigned several times in the function and if we 'goto
error_unmap', its value is not the returned value of 'request_mem_region()'
anymore.
Introduce a new 'struct resource *' variable (i.e. res2) to keep a pointer
to the right resource, if needed in the error handling path.
Fixes:
|
||
---|---|---|
.. | ||
allegro-dvt | ||
bcm2048 | ||
davinci_vpfe | ||
imx | ||
ipu3 | ||
omap4iss | ||
rockchip/vpu | ||
soc_camera | ||
sunxi | ||
tegra-vde | ||
Kconfig | ||
Makefile |