From: Mark Salyzyn Date: Tue, 17 Jan 2012 14:18:57 +0000 (-0500) Subject: [SCSI] pm8001: Add FUNC_GET_EVENTS X-Git-Tag: v3.4-rc1~145^2~174 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d95d00016f8f51dc502cadb263d861bd8c0212bb;p=pandora-kernel.git [SCSI] pm8001: Add FUNC_GET_EVENTS Jack noticed I dropped a patch fragment associated with a flags automatic variable in mpi_set_phys_g3_with_ssc (ooops) and that the pre-emptive locking that piggy-backed this patch was not in-fact necessary because of underlying atomic accesses to the hardware. Here is the updated patch fixing these two issues. The pm8001 driver is missing the FUNC_GET_EVENTS handler in the phy control function. Since the pm8001_bar4_shift function was not designed to be called at runtime, added locking surrounding the adjustment for all accesses. Signed-off-by: Mark Salyzyn Acked-by: Jack Wang Signed-off-by: James Bottomley --- Reading git-diff-tree failed