Fix removable storage detect mmcblk error

When we execute removable storage test case and plug USB storage disk,
we will get SD device type becuase the driver attribute is SD.

If we insert SD card, the attribute string should not inlucde 'usb'.
Therefore, we can filter the result.
Insert usb mass storage, the attribute string is like
'usb jetflash/usb-storage/sd 16gb jetflash'
Insert sd card, the attribute string is 'mmcblk'

TEST=manually test, pass removable storage test case with/without SD

Change-Id: I9b6cc764bf52ed129330545f0c6d0cbc74ad4757
Reviewed-by: Cheng-Yi Chiang <>
Commit-Queue: Heng-ruey Hsu <>
Tested-by: Heng-ruey Hsu <>
1 file changed