aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/files/0002-yocto-amd-i2c-dev-add-calls-to-enable-and-disable-IM.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/files/0002-yocto-amd-i2c-dev-add-calls-to-enable-and-disable-IM.patch')
-rw-r--r--common/recipes-kernel/linux/files/0002-yocto-amd-i2c-dev-add-calls-to-enable-and-disable-IM.patch12
1 files changed, 6 insertions, 6 deletions
diff --git a/common/recipes-kernel/linux/files/0002-yocto-amd-i2c-dev-add-calls-to-enable-and-disable-IM.patch b/common/recipes-kernel/linux/files/0002-yocto-amd-i2c-dev-add-calls-to-enable-and-disable-IM.patch
index 7b6e9c60..c4aa7915 100644
--- a/common/recipes-kernel/linux/files/0002-yocto-amd-i2c-dev-add-calls-to-enable-and-disable-IM.patch
+++ b/common/recipes-kernel/linux/files/0002-yocto-amd-i2c-dev-add-calls-to-enable-and-disable-IM.patch
@@ -1,6 +1,6 @@
-From e7a9925b4d85904cf4511d172bcdf05d27d576f3 Mon Sep 17 00:00:00 2001
+From 6d365974c73b25976a5c5b7572af2dab13ad39d0 Mon Sep 17 00:00:00 2001
From: Sanjay R Mehta <sanju.mehta@amd.com>
-Date: Mon, 4 Apr 2016 19:35:54 +0530
+Date: Tue, 27 Sep 2016 16:14:53 +0530
Subject: [PATCH 2/2] yocto amd i2c dev add calls to enable and disable IMC
from fetching BIOS code
@@ -9,7 +9,7 @@ Subject: [PATCH 2/2] yocto amd i2c dev add calls to enable and disable IMC
1 file changed, 5 insertions(+)
diff --git a/drivers/i2c/i2c-dev.c b/drivers/i2c/i2c-dev.c
-index 71c7a39..3072f88 100644
+index 2413ec9..6a3419d 100644
--- a/drivers/i2c/i2c-dev.c
+++ b/drivers/i2c/i2c-dev.c
@@ -34,6 +34,7 @@
@@ -20,7 +20,7 @@ index 71c7a39..3072f88 100644
/*
* An i2c_dev represents an i2c_adapter ... an I2C or SMBus master, not a
-@@ -513,6 +514,8 @@ static int i2cdev_open(struct inode *inode, struct file *file)
+@@ -510,6 +511,8 @@ static int i2cdev_open(struct inode *inode, struct file *file)
client->adapter = adap;
file->private_data = client;
@@ -29,7 +29,7 @@ index 71c7a39..3072f88 100644
return 0;
}
-@@ -524,6 +527,8 @@ static int i2cdev_release(struct inode *inode, struct file *file)
+@@ -521,6 +524,8 @@ static int i2cdev_release(struct inode *inode, struct file *file)
kfree(client);
file->private_data = NULL;
@@ -39,5 +39,5 @@ index 71c7a39..3072f88 100644
}
--
-1.9.1
+2.7.4