smartcard: fix defects for coverity [1/1]
authorJianxiong Pan <jianxiong.pan@amlogic.com>
Fri, 9 Nov 2018 09:02:52 +0000 (17:02 +0800)
committerTao Zeng <tao.zeng@amlogic.com>
Mon, 12 Nov 2018 04:33:59 +0000 (21:33 -0700)
commitb5abee2d7956131180b224c4e77ddee6a0860a99
tree19ee36b49a380a65d0018d2e12b7b4dcecc7ebe2
parente0063c417bd64d12ced78d4c7462d16d4bc92814
smartcard: fix defects for coverity [1/1]

PD#166793

Problem:
conditional statement not is valid.

Solution:
change type u32 to type int.

Verify:
module owner confirmed.

Change-Id: I9fdfa444b29104c7afc9b7a380748ebe82ed390b
Signed-off-by: Jianxiong Pan <jianxiong.pan@amlogic.com>
drivers/amlogic/smartcard/smartcard.c