aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorSuman Anna <s-anna@ti.com>2011-10-07 13:34:55 -0500
committerDan Murphy <dmurphy@ti.com>2011-10-17 08:40:50 -0500
commit0f228ea83d7b231a1e4b71e139350bba5e040c33 (patch)
tree39a805cd2c9b96fad13cbb38099d4519e4e52f9c /security
parentda1d1bb921e468ad637c8fd44693714fefbd40c5 (diff)
downloadkernel_samsung_espresso10-0f228ea83d7b231a1e4b71e139350bba5e040c33.zip
kernel_samsung_espresso10-0f228ea83d7b231a1e4b71e139350bba5e040c33.tar.gz
kernel_samsung_espresso10-0f228ea83d7b231a1e4b71e139350bba5e040c33.tar.bz2
omap4: smc: fix rproc_drm license
rproc_drm.c is wrongly licensed, should be GPLv2 licensed. Change-Id: I9e94203d0797ed7624634fc290b35253f3de3329 Signed-off-by: Suman Anna <s-anna@ti.com>
Diffstat (limited to 'security')
-rw-r--r--security/smc/rproc_drm.c29
1 files changed, 8 insertions, 21 deletions
diff --git a/security/smc/rproc_drm.c b/security/smc/rproc_drm.c
index b2c7efc..b86b0b8 100644
--- a/security/smc/rproc_drm.c
+++ b/security/smc/rproc_drm.c
@@ -1,20 +1,15 @@
/*
- * Copyright (c) 2011 Texas Instruments Inc
+ * Copyright (c) 2011 Texas Instruments, Inc.
* Copyright (c) 2011 Trusted Logic S.A.
- * All Rights Reserved.
*
- * This software is the confidential and proprietary information of
- * Trusted Logic S.A. ("Confidential Information"). You shall not
- * disclose such Confidential Information and shall use it only in
- * accordance with the terms of the license agreement you entered
- * into with Trusted Logic S.A.
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * version 2 as published by the Free Software Foundation.
*
- * TRUSTED LOGIC S.A. MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE
- * SUITABILITY OF THE SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING
- * BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS
- * FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT. TRUSTED LOGIC S.A. SHALL
- * NOT BE LIABLE FOR ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING,
- * MODIFYING OR DISTRIBUTING THIS SOFTWARE OR ITS DERIVATIVES.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
*/
/*
@@ -82,10 +77,6 @@ static TEEC_Result _rproc_drm_invoke_secure_service(bool enable)
if (result != TEEC_SUCCESS)
goto out;
- /*
- * TODO: Check with security team if we need to pass a parameter to get
- * the result of the service, or the actual return value is enough
- */
operation.paramTypes = TEEC_PARAM_TYPES(TEEC_NONE, TEEC_NONE,
TEEC_NONE, TEEC_NONE);
command = (enable ? WVDRM_ENTER_SECURE_PLAYBACK :
@@ -100,10 +91,6 @@ int rproc_drm_invoke_service(bool enable)
{
int ret;
- /*
- * TODO: Need to analyze if we get different errors for
- * failures in authentication or firewalling
- */
if ((s_state == RPROC_DRM_SECURE_ENTER && enable) ||
(s_state == RPROC_DRM_SECURE_LEAVE && !enable))
return 0;