]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
media: c8sectpfe: Use resource_size function on memory resource
authorVasyl Gomonovych <gomonovych@gmail.com>
Mon, 20 Nov 2017 22:46:47 +0000 (17:46 -0500)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 13 Dec 2017 13:01:44 +0000 (08:01 -0500)
commit7bed816d3465f7c4f4dac08833c1e68dd5712a84
tree0e30d2e8e3ae95373f8e41e200a5a3856d704403
parentbaed3c4bc4c13de93e0dba0a26d601411ebcb389
media: c8sectpfe: Use resource_size function on memory resource

To adapt fei->sram_size calculation via resource_size for memory size
calculation before, in fei->sram = devm_ioremap_resource(dev, res).
And make memory initialization range in
memset_io for fei->sram appropriate

Signed-off-by: Vasyl Gomonovych <gomonovych@gmail.com>
Acked-by: Patrice Chotard <patrice.chotard@st.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c