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)
commit04825cfedf525b455384547adb90102d02b293b4
treebabeed41b72d46366e480289c71c9af7477fb4e2
parent05ca556003b1d6b4df0b8831e4c07fad7f5bdd2c
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
This page took 0.060844 seconds and 5 git commands to generate.