1414094 utils/touchpad: Catch division by zero if resolution is 0

Authored and Committed by benzea 6 years ago
    utils/touchpad: Catch division by zero if resolution is 0
    
    If the touchpad is not properly supported, then the kernel might be
    reporting a resolution of 0. Catch this and return a size of -1 to
    indicate the error instead of failing with a division by zero.