fix the zero fd closing problem

The pcm_hw_close refused to close the zero fd. Add "equal to"
condition and modify the type of fd to int to close the zero fd.

Bug: 192152106
Test: mm libtinyalsav2
Merged-In: I271429b818a147917c21dece1a37e583e421c892
Change-Id: I7f99e83c253b4eb9a11193322ac884ccfc7be099
diff --git a/src/pcm_hw.c b/src/pcm_hw.c
index 4792895..e5588a0 100644
--- a/src/pcm_hw.c
+++ b/src/pcm_hw.c
@@ -50,7 +50,7 @@
     /** Device number for the pcm device */
     unsigned int device;
     /** File descriptor to the pcm device file node */
-    unsigned int fd;
+    int fd;
     /** Pointer to the pcm node from snd card definiton */
     struct snd_node *node;
 };
@@ -59,7 +59,7 @@
 {
     struct pcm_hw_data *hw_data = data;
 
-    if (hw_data->fd > 0)
+    if (hw_data->fd >= 0)
         close(hw_data->fd);
 
     free(hw_data);