]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: ccp - Unify coherency checking logic with device_dma_is_coherent()
authorSuthikulpanit, Suravee <Suravee.Suthikulpanit@amd.com>
Wed, 10 Jun 2015 16:08:55 +0000 (11:08 -0500)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 15 Jun 2015 12:40:49 +0000 (14:40 +0200)
commit1c66d53d0489b8a76ae099a5eb6b1d6ef8b58ff5
treebabeed41b72d46366e480289c71c9af7477fb4e2
parent379748d82a81a1f34e34ef5b65c2280d0c462e82
crypto: ccp - Unify coherency checking logic with device_dma_is_coherent()

Currently, the driver has separate logic to determine device coherency
for DT vs ACPI.  This patch simplifies the code with a call to
device_dma_is_coherent().

Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: Suravee Suthikulpanit <Suravee.Suthikulpanit@amd.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/crypto/ccp/ccp-platform.c