summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLuwei Zhou <b45643@freescale.com>2013-11-11 16:03:59 +0800
committerLuwei Zhou <b45643@freescale.com>2013-11-12 10:36:18 +0800
commit7dd945dec0271b67bd4d7a319a9a13e281b44c18 (patch)
treebd565d746a83d4425bcea31065379fb1b0d880cf /include
parent8ff4a1814ae50cf06da8aeb3507c141ccf11c4cf (diff)
ENGR00287256 mxc: mlb: Fix the SYNC mode hang issue when connected with MITB
This patch fixes the hang and crash issue of MLB SYNC mode in the driver. The MITB will casue Sabreauto to hang and crash when testing the SYNC mode. It is because MITB will cause something error on MLB bus when stopping the SYNC test. The Sabreauto will keep entering error ISR and hang. Since we don't know the details about MITB, we make drivers provide IO_CTRL interface to disable the interrupt in SYNC mode. Signed-off-by: Luwei Zhou <b45643@freescale.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/mxc_mlb.h2
-rw-r--r--include/uapi/linux/mxc_mlb.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/mxc_mlb.h b/include/linux/mxc_mlb.h
index 147f64329972..d7c792a2bee4 100644
--- a/include/linux/mxc_mlb.h
+++ b/include/linux/mxc_mlb.h
@@ -34,6 +34,8 @@
#define MLB_SET_ISOC_BLKSIZE_188 _IO('S', 0x17)
#define MLB_SET_ISOC_BLKSIZE_196 _IO('S', 0x18)
#define MLB_SET_SYNC_QUAD _IOW('S', 0x19, unsigned int)
+#define MLB_IRQ_ENABLE _IO('S', 0x20)
+#define MLB_IRQ_DISABLE _IO('S', 0x21)
/*!
* MLB event define
diff --git a/include/uapi/linux/mxc_mlb.h b/include/uapi/linux/mxc_mlb.h
index 90c94daf8e9c..20ba5240ea51 100644
--- a/include/uapi/linux/mxc_mlb.h
+++ b/include/uapi/linux/mxc_mlb.h
@@ -34,6 +34,8 @@
#define MLB_SET_ISOC_BLKSIZE_188 _IO('S', 0x17)
#define MLB_SET_ISOC_BLKSIZE_196 _IO('S', 0x18)
#define MLB_SET_SYNC_QUAD _IOW('S', 0x19, unsigned int)
+#define MLB_IRQ_ENABLE _IO('S', 0x20)
+#define MLB_IRQ_DISABLE _IO('S', 0x21)
/*!
* MLB event define