Home
last modified time | relevance | path

Searched hist:"45 c7f75fd4b57035cd35954986a2faefb07dac9d" (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/mfd/
H A Dmcp-sa11x0.cdiff 45c7f75fd4b57035cd35954986a2faefb07dac9d Sat Jan 21 00:09:42 CET 2012 Russell King <rmk+kernel@arm.linux.org.uk> MFD: mcp-sa11x0: convert mcp-sa11x0 to use platform resources

Patch taken from af9081ae64 (ARM: sa1100: Refactor mcp-sa11x0 to use
platform resources.) by Jochen Friedrich <jochen@scram.de>, and fixes
applied.

We can safely do this now that we have sanitized host removal; the
original patch had use-after-free bugs in the removal code. Not only
that, but there was no checking of the ioremap() return.

The final change over Jochen's patch is that we wrap the base pointer
selection inside the various register indexes, which reduces the
possibility of the wrong register index being used.

Acked-by: Jochen Friedrich <jochen@scram.de>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
/linux/arch/arm/mach-sa1100/
H A Dgeneric.cdiff 45c7f75fd4b57035cd35954986a2faefb07dac9d Sat Jan 21 00:09:42 CET 2012 Russell King <rmk+kernel@arm.linux.org.uk> MFD: mcp-sa11x0: convert mcp-sa11x0 to use platform resources

Patch taken from af9081ae64 (ARM: sa1100: Refactor mcp-sa11x0 to use
platform resources.) by Jochen Friedrich <jochen@scram.de>, and fixes
applied.

We can safely do this now that we have sanitized host removal; the
original patch had use-after-free bugs in the removal code. Not only
that, but there was no checking of the ioremap() return.

The final change over Jochen's patch is that we wrap the base pointer
selection inside the various register indexes, which reduces the
possibility of the wrong register index being used.

Acked-by: Jochen Friedrich <jochen@scram.de>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>